aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rwxr-xr-xsystemd/pacman-offline3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/pacman-offline b/systemd/pacman-offline
index 83d2791..ca14ba2 100755
--- a/systemd/pacman-offline
+++ b/systemd/pacman-offline
@@ -19,8 +19,9 @@ function finish { rm -f /run/pacman.conf; }
trap finish EXIT
sed '/^Include *= *\/etc\/pacman\.d\/offline\.conf$/s|^|#|' < /etc/pacman.conf > /run/pacman.conf
-# remove triggering symlink and (soft-)reboot override
+# remove triggering symlink and reboot & poweroff override
rm -f /system-update
+rm -f /run/systemd/system/systemd-poweroff.service
rm -f /run/systemd/system/systemd-reboot.service
# install updates