From dcdcfd4054d0c9b2187e90cdcae6dbbd53ac9277 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sat, 5 May 2018 01:20:42 +0200 Subject: [PATCH] fix --- arch-graphical-install-auto | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index fd0ac7d..0c09021 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -585,15 +585,20 @@ fi # Install rc.shutdown echo "[Unit] -Description=/etc/rc.local.shutdown compatibility +Description=/etc/rc.local.shutdown Compatibility +ConditionFileIsExecutable=/etc/rc.local.shutdown +DefaultDependencies=no +After=basic.target +Before=shutdown.target [Service] Type=oneshot ExecStart=/etc/rc.local.shutdown +StandardInput=tty RemainAfterExit=yes [Install] -WantedBy=shutdown.target" > /etc/systemd/system/rc-local-shutdown.service +WantedBy=multi-user.target" > /etc/systemd/system/rc-local-shutdown.service touch $RCLOCALSHUTDOWN chmod +x $RCLOCALSHUTDOWN systemctl enable rc-local-shutdown.service