diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-30 12:08:41 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-06-01 09:23:05 +0200 |
commit | 3dbb9bc5eb29b7f3cfcbe61c05922c5360be19ec (patch) | |
tree | d8cce6b451aac58f0dbe97c60284c52ab840d474 /src/login/logind-action.h | |
parent | 978af07f66fcfb21199fa7ec0f4a0b89978eb230 (diff) | |
download | systemd-3dbb9bc5eb29b7f3cfcbe61c05922c5360be19ec.tar.gz |
logind: rework wall message about pending shutdown/halt/reboot/…
Those messages simply *feel* dated: "The system is going for suspend NOW!".
Let's say "The system will suspend|power off|hibernate|… now!" instead.
The exclamation mark is enough to show the urgency.
Also, the "the" seemed out of place. We're not talking about a specific reboot.
Diffstat (limited to 'src/login/logind-action.h')
-rw-r--r-- | src/login/logind-action.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/logind-action.h b/src/login/logind-action.h index c891787e6c..9a01af1690 100644 --- a/src/login/logind-action.h +++ b/src/login/logind-action.h @@ -49,6 +49,8 @@ int manager_handle_action( bool ignore_inhibited, bool is_edge); +const char* handle_action_verb_to_string(HandleAction h) _const_; + const char* handle_action_to_string(HandleAction h) _const_; HandleAction handle_action_from_string(const char *s) _pure_; |