diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-10-23 00:03:26 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-10-23 00:12:33 +0200 |
commit | 4474d8abd09f8779b1363726bd80e59e7f9096c6 (patch) | |
tree | 7b5ebf00222f7f120f37c27fa4b438fb38f5cb6d /units/emergency.service.in | |
parent | 74dc2b17e6086a5b9c4260e7a8c1a8a75888ac73 (diff) |
units: also add journalctl suggestion to emergency.service
More often than not we enter emergency.service due to fsck failure, so
it makes sense to direct people to the journal to debug those.
Diffstat (limited to 'units/emergency.service.in')
-rw-r--r-- | units/emergency.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/emergency.service.in b/units/emergency.service.in index 36db707280..1815f9d80f 100644 --- a/units/emergency.service.in +++ b/units/emergency.service.in @@ -16,7 +16,7 @@ Before=shutdown.target Environment=HOME=/root WorkingDirectory=/root ExecStartPre=-/bin/plymouth quit -ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to enter default mode.' +ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl -b" to view system logs. Type "systemctl reboot" to reboot.' ExecStart=-/sbin/sulogin ExecStopPost=@SYSTEMCTL@ --fail --no-block default Type=idle |