fix
This commit is contained in:
parent
f0b86bd502
commit
1f39368a04
2 changed files with 2 additions and 1 deletions
|
@ -602,7 +602,6 @@ RemainAfterExit=yes
|
||||||
WantedBy=multi-user.target" > /etc/systemd/system/rc-local-shutdown.service
|
WantedBy=multi-user.target" > /etc/systemd/system/rc-local-shutdown.service
|
||||||
touch $RCLOCALSHUTDOWN
|
touch $RCLOCALSHUTDOWN
|
||||||
chmod +x $RCLOCALSHUTDOWN
|
chmod +x $RCLOCALSHUTDOWN
|
||||||
systemctl enable rc-local-shutdown.service
|
|
||||||
if ! grep '#!' $RCLOCALSHUTDOWN; then
|
if ! grep '#!' $RCLOCALSHUTDOWN; then
|
||||||
echo "#!/bin/bash" > $RCLOCALSHUTDOWN
|
echo "#!/bin/bash" > $RCLOCALSHUTDOWN
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1132,6 +1132,8 @@ if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ] && [ "${offli
|
||||||
echo "lightdm nicht vorhanden!!!"
|
echo "lightdm nicht vorhanden!!!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
arch-chroot ${mountpoint} systemctl enable rc-local-shutdown.service
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${update}" != "n" ] && [ "${offline}" == "n" ] || [ -n "${installationsfehler}" ]; then
|
if [ "${update}" != "n" ] && [ "${offline}" == "n" ] || [ -n "${installationsfehler}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue