]> err.no Git - systemd/commitdiff
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 dda7e168cb65ec447766b0e1a90bf549c00ddab3..4a1e31ac7f002398acabc5cb9d518cf85af487e2 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 75b8ecc0b0e6c5ad939015d725abe4832277a89f..2eba886ad85981669dab329d3773ea95e704c520 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