From 9ef15026c0e7e6600372056c43442c99ec53746e Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Mon, 24 Aug 2015 14:54:22 +0200 Subject: logind/systemctl: introduce SetWallMessage and --message Enable unprivileged users to set wall message on a shutdown operation. When the message is set via the --message option, it is logged together with the default shutdown message. $ systemctl reboot --message "Applied kernel updates." $ journalctl -b -1 ... systemd-logind[27]: System is rebooting. (Applied kernel updates.) ... --- man/systemctl.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'man/systemctl.xml') diff --git a/man/systemctl.xml b/man/systemctl.xml index 0b5282ba21..20d143741b 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -473,6 +473,18 @@ + + + + + When used with halt, + poweroff, reboot or + kexec, set a short message explaining the reason + for the operation. The message will be logged together with the + default shutdown message. + + + -- cgit v1.2.3-54-g00ecf