systemctl: add shutdown --show option

Shows the scheduled shutdown action and time if there's one.
This commit is contained in:
Ludwig Nussel
2021-12-09 15:07:40 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent b55093ce88
commit a9c3cc8db0
6 changed files with 56 additions and 1 deletions
+1
View File
@@ -32,6 +32,7 @@ enum action {
ACTION_RUNLEVEL,
ACTION_TELINIT,
ACTION_CANCEL_SHUTDOWN,
ACTION_SHOW_SHUTDOWN,
_ACTION_MAX,
_ACTION_INVALID = -EINVAL,
};