From 84a906395b3672f8ad6ac49d5b3f04f9f90bac66 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 10 Jul 2023 09:41:41 +0200 Subject: do a soft-reboot in first step --- bin/pacman-offline | 2 +- 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 -- cgit v1.2.3-54-g00ecf