units: invoke sulogin instead of /bin/sh

This commit is contained in:
Lennart Poettering
2010-08-25 03:15:12 +02:00
parent 3006982d93
commit ddad68097d
2 changed files with 2 additions and 2 deletions
+1 -1
View 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
+1 -1
View 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