units: direct users to the journal for logs when entering rescue mode
authorLennart Poettering <lennart@poettering.net>
Wed, 4 Apr 2012 11:52:02 +0000 (13:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 4 Apr 2012 11:52:02 +0000 (13:52 +0200)
units/rescue.service.m4.in

index df0b54f..da4c4da 100644 (file)
@@ -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}"',