X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Frescue.service.in;h=de73fee6547c2cd534e5f38980c3c2df3fa11f06;hb=dfc4b6acf088f71f717fce8866a5841091219fa5;hp=ef5436960fcaf04ea9902498e2cba0892ad1e70c;hpb=9c0804278b42261b4dce20ea0ea79bcbad291639;p=elogind.git diff --git a/units/rescue.service.in b/units/rescue.service.in index ef5436960..de73fee65 100644 --- a/units/rescue.service.in +++ b/units/rescue.service.in @@ -17,8 +17,8 @@ Before=shutdown.target Environment=HOME=/root WorkingDirectory=/root ExecStartPre=-/bin/plymouth quit -ExecStartPre=-/bin/echo -e 'Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl -xb" to view system logs. Type "systemctl reboot" to reboot.' -ExecStart=-/bin/sh -c "/sbin/sulogin; @SYSTEMCTL@ --fail --no-block default" +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 "@SULOGIN@; @SYSTEMCTL@ --fail --no-block default" Type=idle StandardInput=tty-force StandardOutput=inherit