rescue: terminate plymouth entirely when going into rescue mode

This commit is contained in:
Lennart Poettering 2011-02-23 18:42:08 +01:00
parent 7ded2e28f2
commit be12dd0cb8
2 changed files with 3 additions and 3 deletions

View 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

View 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