From: Harald Hoyer Date: Fri, 18 Jan 2013 10:00:00 +0000 (+0100) Subject: dracut-lib.sh: force hide plymouth in shutdown emergency shell X-Git-Tag: 025~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b68300899a6fa960928691e1078937222ebe8d3;p=thirdparty%2Fdracut.git dracut-lib.sh: force hide plymouth in shutdown emergency shell --- diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index 127ae429a..83ac68f66 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