X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Frescue.service.m4.in;h=ef5436960fcaf04ea9902498e2cba0892ad1e70c;hb=7bed7f0e3b1f9596aedb64657e432e5b267adebb;hp=552ef8981b5870c81bd2dc9652eba3c12652c55c;hpb=82659fd7571bda0f3dce9755b89a23c411d53dda;p=elogind.git diff --git a/units/rescue.service.m4.in b/units/rescue.service.m4.in index 552ef8981..ef5436960 100644 --- a/units/rescue.service.m4.in +++ b/units/rescue.service.m4.in @@ -18,8 +18,7 @@ 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=-/sbin/sulogin -ExecStopPost=-@SYSTEMCTL@ --fail --no-block default +ExecStart=-/bin/sh -c "/sbin/sulogin; @SYSTEMCTL@ --fail --no-block default" Type=idle StandardInput=tty-force StandardOutput=inherit