From 66b0e0e0e3652227fe107ab9d09fa14fd4bc4dfa Mon Sep 17 00:00:00 2001 From: Cristian Rodríguez Date: Fri, 23 Jan 2015 14:35:20 -0300 Subject: build-sys: lookup for sulogin, it might not be in /sbin --- units/emergency.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units/emergency.service.in') diff --git a/units/emergency.service.in b/units/emergency.service.in index 18973e78fa..2695d7b7c9 100644 --- a/units/emergency.service.in +++ b/units/emergency.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\\ntry again to boot 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 -- cgit v1.2.3-54-g00ecf