From: Lennart Poettering Date: Wed, 4 Apr 2012 11:52:02 +0000 (+0200) Subject: units: direct users to the journal for logs when entering rescue mode X-Git-Tag: v183~443 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=704179d8398a8f74e1adc461882d98ca204f5478;p=systemd units: direct users to the journal for logs when entering rescue mode --- diff --git a/units/rescue.service.m4.in b/units/rescue.service.m4.in index df0b54fd..da4c4da0 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}"',