mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
rescue: terminate plymouth entirely when going into rescue mode
This commit is contained in:
parent
7ded2e28f2
commit
be12dd0cb8
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user