From d342ca8e078a098af40362e15c2a1becb239137e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 30 Jan 2024 15:39:36 +0100 Subject: force soft-reboot on regular reboot --- systemd/pacman-offline | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'systemd') diff --git a/systemd/pacman-offline b/systemd/pacman-offline index d26038a..9471bfc 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 +# remove triggering symlink and (soft-)reboot override rm -f /system-update +rm -f /run/systemd/system/systemd-reboot.service # install updates if [ "$(pacman --sync --print --needed archlinux-keyring | wc -l)" -gt 0 ]; then -- cgit v1.2.3-70-g09d2