From be12dd0cb89214b3b0dbffe70dd47d1db2c5d3c2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 23 Feb 2011 18:42:08 +0100 Subject: rescue: terminate plymouth entirely when going into rescue mode --- units/emergency.service | 4 ++-- units/rescue.service.m4 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'units') diff --git a/units/emergency.service b/units/emergency.service index aa3d9856c0..cb28a78385 100644 --- a/units/emergency.service +++ b/units/emergency.service @@ -16,10 +16,10 @@ Before=shutdown.target [Service] Environment=HOME=/root WorkingDirectory=/root -ExecStartPre=-/bin/plymouth --hide-splash +ExecStartPre=-/bin/plymouth quit ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to activate default mode.' ExecStart=-/sbin/sulogin -ExecStopPost=/bin/systemctl default +ExecStopPost=/bin/systemctl --fail default StandardInput=tty-force KillMode=process-group diff --git a/units/rescue.service.m4 b/units/rescue.service.m4 index ba29f6e6e6..2a0d3280ec 100644 --- a/units/rescue.service.m4 +++ b/units/rescue.service.m4 @@ -17,7 +17,7 @@ Before=shutdown.target [Service] Environment=HOME=/root WorkingDirectory=/root -ExecStartPre=-/bin/plymouth --hide-splash +ExecStartPre=-/bin/plymouth quit ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" or ^D to activate default mode.' m4_ifdef(`TARGET_FEDORA', `EnvironmentFile=/etc/sysconfig/init -- cgit v1.2.3-54-g00ecf