summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-25 03:15:12 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-25 03:15:12 +0200
commitddad68097d307fd8cdfd06946691211fb65b74e3 (patch)
tree9ab37503f106467dd605a5678c6dff859c375668 /units
parent3006982d93e92019dd6d94a7518684593b43a05e (diff)
units: invoke sulogin instead of /bin/sh
Diffstat (limited to 'units')
-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