systemctl: at full stop after last message before shutting down

This commit is contained in:
Lennart Poettering 2010-08-12 04:23:47 +02:00
parent bbd3a7ba5c
commit 3059b1c1f4
2 changed files with 7 additions and 3 deletions

4
fixme
View file

@ -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

View file

@ -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;