mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 12:13:33 +08: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
|
||||
WorkingDirectory=/root
|
||||
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',
|
||||
`EnvironmentFile=/etc/sysconfig/init
|
||||
ExecStart=-/bin/bash -c "exec ${SINGLE}"',
|
||||
|
Loading…
Reference in New Issue
Block a user