systemctl: at full stop after last message before shutting down
This commit is contained in:
parent
bbd3a7ba5c
commit
3059b1c1f4
4
fixme
4
fixme
|
@ -73,6 +73,10 @@
|
|||
|
||||
* plymouth different shut down msgs
|
||||
|
||||
* plymouth after/before getty?
|
||||
|
||||
* in systemctl show sysv init script path
|
||||
|
||||
External:
|
||||
|
||||
* sysv functions should color when stdout is tty, not stdin
|
||||
|
|
|
@ -4604,17 +4604,17 @@ static int halt_main(DBusConnection *bus) {
|
|||
switch (arg_action) {
|
||||
|
||||
case ACTION_HALT:
|
||||
log_info("Halting");
|
||||
log_info("Halting.");
|
||||
reboot(RB_HALT_SYSTEM);
|
||||
break;
|
||||
|
||||
case ACTION_POWEROFF:
|
||||
log_info("Powering off");
|
||||
log_info("Powering off.");
|
||||
reboot(RB_POWER_OFF);
|
||||
break;
|
||||
|
||||
case ACTION_REBOOT:
|
||||
log_info("Rebooting");
|
||||
log_info("Rebooting.");
|
||||
reboot(RB_AUTOBOOT);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue