chiark / gitweb /
rescue: terminate plymouth entirely when going into rescue mode
authorLennart Poettering <lennart@poettering.net>
Wed, 23 Feb 2011 17:42:08 +0000 (18:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 23 Feb 2011 17:42:08 +0000 (18:42 +0100)
units/emergency.service
units/rescue.service.m4

index aa3d985..cb28a78 100644 (file)
@@ -16,10 +16,10 @@ Before=shutdown.target
 [Service]
 Environment=HOME=/root
 WorkingDirectory=/root
-ExecStartPre=-/bin/plymouth --hide-splash
+ExecStartPre=-/bin/plymouth quit
 ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to activate default mode.'
 ExecStart=-/sbin/sulogin
-ExecStopPost=/bin/systemctl default
+ExecStopPost=/bin/systemctl --fail default
 StandardInput=tty-force
 KillMode=process-group
 
index ba29f6e..2a0d328 100644 (file)
@@ -17,7 +17,7 @@ Before=shutdown.target
 [Service]
 Environment=HOME=/root
 WorkingDirectory=/root
-ExecStartPre=-/bin/plymouth --hide-splash
+ExecStartPre=-/bin/plymouth quit
 ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" or ^D to activate default mode.'
 m4_ifdef(`TARGET_FEDORA',
 `EnvironmentFile=/etc/sysconfig/init