summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-04 13:52:02 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-04 13:52:02 +0200
commit704179d8398a8f74e1adc461882d98ca204f5478 (patch)
tree8379c8389067d058e7f5cf20c84df702053b2d05
parent54cf0b7fa67702bb3236851f0096910b3759f1b0 (diff)
units: direct users to the journal for logs when entering rescue mode
-rw-r--r--units/rescue.service.m4.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/rescue.service.m4.in b/units/rescue.service.m4.in
index df0b54fd60..da4c4da03f 100644
--- a/units/rescue.service.m4.in
+++ b/units/rescue.service.m4.in
@@ -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}"',