]> err.no Git - systemd/commitdiff
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 df0b54fd608b4bdb1a7705d1ff24388a5cdd0372..da4c4da03fedb0940ea703e2aa1c388de740c643 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}"',