dracut-lib.sh: force hide plymouth in shutdown emergency shell

master
Harald Hoyer 2013-01-18 11:00:00 +01:00
parent 2b6dd6a1fc
commit 5b68300899
1 changed files with 5 additions and 0 deletions

View File

@ -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