From ddad68097d307fd8cdfd06946691211fb65b74e3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 25 Aug 2010 03:15:12 +0200 Subject: [PATCH] units: invoke sulogin instead of /bin/sh --- units/emergency.service | 2 +- units/fedora/single.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/units/emergency.service b/units/emergency.service index dda7e168..4a1e31ac 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 75b8ecc0..2eba886a 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 -- 2.39.5