From 74dc2b17e6086a5b9c4260e7a8c1a8a75888ac73 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 23 Oct 2012 00:03:04 +0200 Subject: units: suggest journalctl -b in rescue.service so that only messages from the current boot are shown --- 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 2c6e0ec671..89059e05de 100644 --- a/units/rescue.service.m4.in +++ b/units/rescue.service.m4.in @@ -17,7 +17,7 @@ Before=shutdown.target Environment=HOME=/root WorkingDirectory=/root ExecStartPre=-/bin/plymouth quit -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.' +ExecStartPre=-/bin/echo -e 'Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl -b" to view system logs. Type "systemctl reboot" to reboot.' m4_ifdef(`TARGET_FEDORA', `EnvironmentFile=/etc/sysconfig/init ExecStart=-/bin/bash -c "exec ${SINGLE}"', -- cgit v1.2.3-54-g00ecf