From 5b68300899a6fa960928691e1078937222ebe8d3 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 18 Jan 2013 11:00:00 +0100 Subject: [PATCH] dracut-lib.sh: force hide plymouth in shutdown emergency shell --- modules.d/99base/dracut-lib.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index 127ae42..83ac68f 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -897,6 +897,11 @@ emergency_shell() shift 2 elif [ "$1" = "--shutdown" ]; then _rdshell_name=$2; action="Shutdown"; hook="shutdown-emergency" + if [ -x /bin/plymouth ]; then + /bin/plymouth --hide-splash + elif [ -x /oldroot/bin/plymouth ]; then + /oldroot/bin/plymouth --hide-splash + fi shift 2 fi -- 2.7.4