mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
units: direct users to the journal for logs when entering rescue mode
This commit is contained in:
parent
54cf0b7fa6
commit
704179d839
|
@ -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}"',
|
||||||
|
|
Loading…
Reference in a new issue