projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83ddf5d
)
units: apply plymouth warning fix to in rescue mode as well (#5615)
author
Daniel Molkentin
<daniel@molkentin.de>
Tue, 21 Mar 2017 02:26:05 +0000
(
03:26
+0100)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 21 Mar 2017 02:26:05 +0000
(22:26 -0400)
Follow up for #5528.
units/rescue.service.in
patch
|
blob
|
history
diff --git
a/units/rescue.service.in
b/units/rescue.service.in
index
5feff69
..
dc6d14b
100644
(file)
--- a/
units/rescue.service.in
+++ b/
units/rescue.service.in
@@
-16,7
+16,7
@@
Before=shutdown.target
[Service]
Environment=HOME=/root
WorkingDirectory=-/root
-ExecStartPre=-/bin/
plymouth --wait quit
+ExecStartPre=-/bin/
sh -c "[ -x /bin/plymouth ] && /bin/plymouth --wait quit"
ExecStartPre=-/bin/echo -e 'You are in rescue mode. After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" or ^D to\\nboot into default mode.'
ExecStart=-/bin/sh -c "@SULOGIN@; @SYSTEMCTL@ --job-mode=fail --no-block default"
Type=idle