From 704179d8398a8f74e1adc461882d98ca204f5478 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 4 Apr 2012 13:52:02 +0200 Subject: [PATCH] units: direct users to the journal for logs when entering rescue mode --- units/rescue.service.m4.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"', -- 2.39.5