diff options
author | Christian Hesse <mail@eworm.de> | 2023-07-10 09:41:41 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-07-10 09:41:41 +0200 |
commit | 84a906395b3672f8ad6ac49d5b3f04f9f90bac66 (patch) | |
tree | 23400e52d301e5e47f85a547ba06d56376cb123c | |
parent | f37c16bd02b87e0a17957a07cb33df1dc0d04e81 (diff) | |
download | pacman-offline-systemd-254.tar.gz pacman-offline-systemd-254.tar.zst |
do a soft-reboot in first stepsystemd-254
-rwxr-xr-x | bin/pacman-offline | 2 | ||||
-rw-r--r-- | systemd/pacman-offline-reboot.service | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/pacman-offline b/bin/pacman-offline index a8fddf5..57024f0 100755 --- a/bin/pacman-offline +++ b/bin/pacman-offline @@ -78,7 +78,7 @@ ln -sf /var/cache/pacman/pkg /system-update # reboot if requested if [ ${REBOOT} -eq 1 ]; then - systemctl reboot + systemctl soft-reboot # start timer if requested elif [ ${TIMER} -eq 1 ]; then systemctl start pacman-offline-reboot.timer diff --git a/systemd/pacman-offline-reboot.service b/systemd/pacman-offline-reboot.service index bb7a44f..7026061 100644 --- a/systemd/pacman-offline-reboot.service +++ b/systemd/pacman-offline-reboot.service @@ -4,4 +4,4 @@ ConditionPathExists=/system-update [Service] Type=oneshot -ExecStart=/usr/bin/systemctl reboot +ExecStart=/usr/bin/systemctl soft-reboot |