chiark / gitweb /
units: invoke sulogin instead of /bin/sh
authorLennart Poettering <lennart@poettering.net>
Wed, 25 Aug 2010 01:15:12 +0000 (03:15 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 25 Aug 2010 01:15:12 +0000 (03:15 +0200)
units/emergency.service
units/fedora/single.service

index dda7e16..4a1e31a 100644 (file)
@@ -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
index 75b8ecc..2eba886 100644 (file)
@@ -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