units: direct users to the journal for logs when entering rescue mode

This commit is contained in:
Lennart Poettering 2012-04-04 13:52:02 +02:00
parent 54cf0b7fa6
commit 704179d839

View file

@ -18,7 +18,7 @@ Before=shutdown.target
Environment=HOME=/root Environment=HOME=/root
WorkingDirectory=/root WorkingDirectory=/root
ExecStartPre=-/bin/plymouth quit ExecStartPre=-/bin/plymouth quit
ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" or ^D to enter default mode.' ExecStartPre=-/bin/echo -e 'Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl" to view system logs. Type "systemctl reboot" to reboot.'
m4_ifdef(`TARGET_FEDORA', m4_ifdef(`TARGET_FEDORA',
`EnvironmentFile=/etc/sysconfig/init `EnvironmentFile=/etc/sysconfig/init
ExecStart=-/bin/bash -c "exec ${SINGLE}"', ExecStart=-/bin/bash -c "exec ${SINGLE}"',