chiark / gitweb /
rescue: terminate plymouth entirely when going into rescue mode
[elogind.git] / units / emergency.service
index aa3d9856c03a3d5596d7f701e56dce452dd66465..cb28a783852a172bbe592a8ed7175b5c7fe669ed 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