This commit is contained in:
simono41 2018-05-10 04:51:58 +02:00
parent f0b86bd502
commit 1f39368a04
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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