X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Femergency.service.in;h=2695d7b7c97aec7aabbaddb8bc2378e5cfe7264d;hb=d4cdbea5550ae9defa1c731ffe091837d329fec7;hp=18973e78fa8cbbe9980eaea21895ad6aba82c4cc;hpb=42377d6bb771c31bff931f83163972fdcb224d0c;p=elogind.git diff --git a/units/emergency.service.in b/units/emergency.service.in index 18973e78f..2695d7b7c 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