From 273f54cdc2ce9eec741157c60fa240a23d79bb72 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 6 Oct 2010 02:43:06 +0200 Subject: unit: continue boot when exiting emergency/resuce shell --- units/fedora/single.service | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'units/fedora') diff --git a/units/fedora/single.service b/units/fedora/single.service index a519ae3d63..550df1ef60 100644 --- a/units/fedora/single.service +++ b/units/fedora/single.service @@ -16,13 +16,13 @@ Before=multi-user.target [Service] Environment=HOME=/root +EnvironmentFile=/etc/sysconfig/init WorkingDirectory=/root ExecStartPre=-/bin/plymouth --hide-splash -ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" to activate default mode.' -ExecStart=-/sbin/sulogin +ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" or ^D to activate default mode.' +ExecStart=-/bin/bash -c "exec $SINGLE" +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 -- cgit v1.2.3-54-g00ecf