diff options
author | Christian Hesse <mail@eworm.de> | 2023-08-03 22:53:16 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-08-03 22:53:16 +0200 |
commit | 37ec16f5c01f59650c2b76aa6a26fbe0c4b6d6d4 (patch) | |
tree | 01dc03676f8108701378265d1a0d96095e1090e2 | |
parent | 5c7096fc4abe8d513157ea552d6b807e2b0084b7 (diff) | |
download | pacman-offline-37ec16f5c01f59650c2b76aa6a26fbe0c4b6d6d4.tar.gz pacman-offline-37ec16f5c01f59650c2b76aa6a26fbe0c4b6d6d4.tar.zst |
add message on reboot
-rwxr-xr-x | bin/pacman-offline | 2 |
1 files changed, 2 insertions, 0 deletions
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 |