diff options
author | Christian Hesse <mail@eworm.de> | 2023-08-28 09:08:44 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-08-28 09:08:44 +0200 |
commit | 8d2815b5b5174165cc008814a332e94900ec4624 (patch) | |
tree | db458f0d40c8258d040727be80a2022f83d1fee8 | |
parent | 2e36ac9b78816256d70aae8fd334abbc9473bd52 (diff) | |
download | pacman-offline-8d2815b5b5174165cc008814a332e94900ec4624.tar.gz pacman-offline-8d2815b5b5174165cc008814a332e94900ec4624.tar.zst |
show the timer (if active)
This has no output if the timer is stopped. But the timer is shown if
a previous run startet it or it is enabled.
-rwxr-xr-x | bin/pacman-offline | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/pacman-offline b/bin/pacman-offline index 69e77c0..37ae033 100755 --- a/bin/pacman-offline +++ b/bin/pacman-offline @@ -96,3 +96,6 @@ if [ ${REBOOT} -eq 1 ]; then elif [ ${TIMER} -eq 1 ]; then systemctl start pacman-offline-reboot.timer fi + +# show the timer (if active) +systemctl --quiet list-timers pacman-offline-reboot.timer |