From 37ec16f5c01f59650c2b76aa6a26fbe0c4b6d6d4 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 3 Aug 2023 22:53:16 +0200 Subject: add message on reboot --- bin/pacman-offline | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/pacman-offline b/bin/pacman-offline index 42bea71..69e77c0 100755 --- a/bin/pacman-offline +++ b/bin/pacman-offline @@ -86,8 +86,10 @@ ln -sf /var/cache/pacman/pkg /system-update # reboot if requested if [ ${REBOOT} -eq 1 ]; then if systemctl --dry-run soft-reboot 2>/dev/null; then + echo "Soft-rebooting for update." systemctl soft-reboot else + echo "Rebooting for update." systemctl reboot fi # start timer if requested -- cgit v1.2.3-70-g09d2