36 lines
1.6 KiB
Diff
36 lines
1.6 KiB
Diff
--- systemd-208/units/console-shell.service.m4.in
|
|
+++ systemd-208/units/console-shell.service.m4.in 2014-02-05 11:28:31.446735287 +0000
|
|
@@ -17,6 +17,8 @@ Before=getty.target
|
|
[Service]
|
|
Environment=HOME=/root
|
|
WorkingDirectory=/root
|
|
+ExecStartPre=-/usr/bin/plymouth quit
|
|
+ExecStartPre=-/usr/bin/plymouth --wait
|
|
ExecStart=-/usr/sbin/sulogin
|
|
ExecStopPost=-@SYSTEMCTL@ poweroff
|
|
Type=idle
|
|
--- systemd-208/units/rescue.service.m4.in
|
|
+++ systemd-208/units/rescue.service.m4.in 2014-02-05 11:28:45.214235524 +0000
|
|
@@ -16,7 +16,8 @@ Before=shutdown.target
|
|
[Service]
|
|
Environment=HOME=/root
|
|
WorkingDirectory=/root
|
|
-ExecStartPre=-/bin/plymouth quit
|
|
+ExecStartPre=-/usr/bin/plymouth quit
|
|
+ExecStartPre=-/usr/bin/plymouth --wait
|
|
ExecStartPre=-/bin/echo -e 'Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl -xb" to view system logs. Type "systemctl reboot" to reboot.'
|
|
ExecStart=-/usr/sbin/sulogin
|
|
ExecStopPost=-@SYSTEMCTL@ --fail --no-block default
|
|
--- systemd-208/units/emergency.service.in
|
|
+++ systemd-208/units/emergency.service.in 2014-02-05 11:28:51.782235282 +0000
|
|
@@ -15,7 +15,8 @@ Before=shutdown.target
|
|
[Service]
|
|
Environment=HOME=/root
|
|
WorkingDirectory=/root
|
|
-ExecStartPre=-/bin/plymouth quit
|
|
+ExecStartPre=-/usr/bin/plymouth quit
|
|
+ExecStartPre=-/usr/bin/plymouth --wait
|
|
ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again\\nto boot into default mode.'
|
|
ExecStart=-/usr/sbin/sulogin
|
|
ExecStopPost=@SYSTEMCTL@ --fail --no-block default
|