diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-06 02:43:06 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-06 02:44:15 +0200 |
commit | 273f54cdc2ce9eec741157c60fa240a23d79bb72 (patch) | |
tree | 1e9fc4565088fcad888b34d7ebd933ff8abc9d16 /units/emergency.service | |
parent | 71fad6751434f06485a744d41be2d807303c1184 (diff) |
unit: continue boot when exiting emergency/resuce shell
Diffstat (limited to 'units/emergency.service')
-rw-r--r-- | units/emergency.service | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/units/emergency.service b/units/emergency.service index 8578654d88..5910ec9b91 100644 --- a/units/emergency.service +++ b/units/emergency.service @@ -15,11 +15,10 @@ DefaultDependencies=no Environment=HOME=/root WorkingDirectory=/root ExecStartPre=-/bin/plymouth --hide-splash -ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" to activate default mode.' +ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to activate default mode.' ExecStart=-/sbin/sulogin +ExecStopPost=/bin/systemctl default StandardInput=tty-force -Restart=always -RestartSec=0 KillMode=process-group # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash |