From 4474d8abd09f8779b1363726bd80e59e7f9096c6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 23 Oct 2012 00:03:26 +0200 Subject: 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. --- units/emergency.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units/emergency.service.in') 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 -- cgit v1.2.3-54-g00ecf