summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2016-06-01 11:52:35 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-01 11:52:35 +0200
commitce3eb7790ca20be6b429d23b26d2d8bd25f71ef9 (patch)
tree08953896361a79459dba17841e7a72d899670e35
parente33a06a1eb7406ece8e35f6346ba0ea208c11cf1 (diff)
downloadsystemd-ce3eb7790ca20be6b429d23b26d2d8bd25f71ef9.tar.gz
units: wait for plymouth to shut down in rescue.sevice (#3367)
In the same vein as commit ac59f0c12c117b9bb5b7e17f33987b0107791239 which added the --wait option to the emergency service, this patch makes sure that plymouth has exited before entering into the rescue mode.
-rw-r--r--units/rescue.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/rescue.service.in b/units/rescue.service.in
index 92553f61dd..ecf96bc211 100644
--- 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 quit
+ExecStartPre=-/bin/plymouth --wait quit
ExecStartPre=-/bin/echo -e 'Welcome to 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