summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--units/emergency.service2
-rw-r--r--units/fedora/single.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/units/emergency.service b/units/emergency.service
index dda7e168cb..4a1e31ac7f 100644
--- a/units/emergency.service
+++ b/units/emergency.service
@@ -14,7 +14,7 @@ DefaultDependencies=no
[Service]
ExecStartPre=-/bin/plymouth --hide-splash
ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" to activate default mode.'
-ExecStart=/bin/sh
+ExecStart=-/sbin/sulogin
StandardInput=tty-force
Restart=restart-always
RestartSec=0
diff --git a/units/fedora/single.service b/units/fedora/single.service
index 75b8ecc0b0..2eba886ad8 100644
--- a/units/fedora/single.service
+++ b/units/fedora/single.service
@@ -17,7 +17,7 @@ Before=multi-user.target
[Service]
ExecStartPre=-/bin/plymouth --hide-splash
ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" to activate default mode.'
-ExecStart=/bin/sh
+ExecStart=-/sbin/sulogin
StandardInput=tty-force
Restart=restart-always
RestartSec=0