Browse Source

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

master
Harald Hoyer 12 years ago
parent
commit
5b68300899
  1. 5
      modules.d/99base/dracut-lib.sh

5
modules.d/99base/dracut-lib.sh

@ -897,6 +897,11 @@ emergency_shell() @@ -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


Loading…
Cancel
Save