summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-23 00:03:04 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-23 00:12:33 +0200
commit74dc2b17e6086a5b9c4260e7a8c1a8a75888ac73 (patch)
tree4a48e0401b9069c431a4458435c3bf4d29fa6220 /units
parent2609659f0dafacacb0429cd8ab60885f7d85f25f (diff)
units: suggest journalctl -b in rescue.service so that only messages from the current boot are shown
Diffstat (limited to 'units')
-rw-r--r--units/rescue.service.m4.in2
1 files changed, 1 insertions, 1 deletions
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}"',