X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Frescue.service.m4.in;fp=units%2Frescue.service.m4.in;h=269797a12ebfb6bd3a910a45f4ec3d89cdfc0fba;hp=fb14baf195b578c7302bbb3ea3de016dd399b270;hb=7f0086f8c9307a9a62f31a4aa5c8d3de74abd06b;hpb=83514a2fa0c9377e76dcc323ab7e7756b7f86cc4 diff --git a/units/rescue.service.m4.in b/units/rescue.service.m4.in index fb14baf19..269797a12 100644 --- a/units/rescue.service.m4.in +++ b/units/rescue.service.m4.in @@ -18,16 +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.' -m4_ifdef(`TARGET_FEDORA', -`EnvironmentFile=/etc/sysconfig/init -ExecStart=-/bin/bash -c "exec ${SINGLE}"', -m4_ifdef(`TARGET_MANDRIVA', -`EnvironmentFile=/etc/sysconfig/init -ExecStart=-/bin/bash -c "exec ${SINGLE}"', -m4_ifdef(`TARGET_MAGEIA', -`EnvironmentFile=/etc/sysconfig/init -ExecStart=-/bin/bash -c "exec ${SINGLE}"', -`ExecStart=-/sbin/sulogin'))) +ExecStart=-/sbin/sulogin ExecStopPost=-@SYSTEMCTL@ --fail --no-block default Type=idle StandardInput=tty-force