2015-02-13 10:43:21 +01:00
---
units/console-shell.service.m4.in | 2 ++
units/emergency.service.in | 3 ++-
units/rescue.service.in | 3 ++-
3 files changed, 6 insertions(+), 2 deletions(-)
2015-02-16 12:36:25 +01:00
Index: systemd/units/console-shell.service.m4.in
2015-02-13 10:43:21 +01:00
===================================================================
2015-02-16 12:36:25 +01:00
--- systemd.orig/units/console-shell.service.m4.in
+++ systemd/units/console-shell.service.m4.in
2014-02-05 12:33:45 +01:00
@@ -17,6 +17,8 @@ Before=getty.target
[Service]
Environment=HOME=/root
WorkingDirectory=/root
+ExecStartPre=-/usr/bin/plymouth quit
+ExecStartPre=-/usr/bin/plymouth --wait
2015-02-16 12:36:25 +01:00
ExecStart=-@SULOGIN@
2014-02-05 12:33:45 +01:00
ExecStopPost=-@SYSTEMCTL@ poweroff
Type=idle
2015-02-16 12:36:25 +01:00
Index: systemd/units/emergency.service.in
2015-02-13 10:43:21 +01:00
===================================================================
2015-02-16 12:36:25 +01:00
--- systemd.orig/units/emergency.service.in
+++ systemd/units/emergency.service.in
2015-02-13 10:43:21 +01:00
@@ -17,7 +17,8 @@ Before=shutdown.target
2014-02-05 12:33:45 +01:00
[Service]
Environment=HOME=/root
WorkingDirectory=/root
-ExecStartPre=-/bin/plymouth quit
+ExecStartPre=-/usr/bin/plymouth quit
+ExecStartPre=-/usr/bin/plymouth --wait
2015-02-13 10:43:21 +01:00
ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" or ^D to\\ntry again to boot into default mode.'
2015-02-16 12:36:25 +01:00
ExecStart=-/bin/sh -c "@SULOGIN@; @SYSTEMCTL@ --fail --no-block default"
2015-02-13 10:43:21 +01:00
Type=idle
2015-02-16 12:36:25 +01:00
Index: systemd/units/rescue.service.in
2015-02-13 10:43:21 +01:00
===================================================================
2015-02-16 12:36:25 +01:00
--- systemd.orig/units/rescue.service.in
+++ systemd/units/rescue.service.in
2015-02-13 10:43:21 +01:00
@@ -16,7 +16,8 @@ Before=shutdown.target
2014-02-05 12:33:45 +01:00
[Service]
Environment=HOME=/root
WorkingDirectory=/root
-ExecStartPre=-/bin/plymouth quit
+ExecStartPre=-/usr/bin/plymouth quit
+ExecStartPre=-/usr/bin/plymouth --wait
2015-02-13 10:43:21 +01:00
ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" or ^D to\\nboot into default mode.'
2015-02-16 12:36:25 +01:00
ExecStart=-/bin/sh -c "@SULOGIN@; @SYSTEMCTL@ --fail --no-block default"
2015-02-13 10:43:21 +01:00
Type=idle