summaryrefslogtreecommitdiff
path: root/units/rescue.service.in
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2015-01-23 14:35:20 -0300
committerLennart Poettering <lennart@poettering.net>2015-01-23 19:09:37 +0100
commit66b0e0e0e3652227fe107ab9d09fa14fd4bc4dfa (patch)
treeb3051c79cf14f973b40ed895d8058e4027b3100d /units/rescue.service.in
parent36a03ca2a8952ca1acb29fbe796210c27ff71aff (diff)
build-sys: lookup for sulogin, it might not be in /sbin
Diffstat (limited to 'units/rescue.service.in')
-rw-r--r--units/rescue.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/rescue.service.in b/units/rescue.service.in
index fc93f1e160..de73fee654 100644
--- a/units/rescue.service.in
+++ b/units/rescue.service.in
@@ -18,7 +18,7 @@ Environment=HOME=/root
WorkingDirectory=/root
ExecStartPre=-/bin/plymouth quit
ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" or ^D to\\nboot into default mode.'
-ExecStart=-/bin/sh -c "/sbin/sulogin; @SYSTEMCTL@ --fail --no-block default"
+ExecStart=-/bin/sh -c "@SULOGIN@; @SYSTEMCTL@ --fail --no-block default"
Type=idle
StandardInput=tty-force
StandardOutput=inherit