summaryrefslogtreecommitdiff
path: root/modules.d/99base
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-01-18 11:00:00 +0100
committerHarald Hoyer <harald@redhat.com>2013-01-22 15:31:19 +0100
commit5b68300899a6fa960928691e1078937222ebe8d3 (patch)
tree151f1d64eb58e8a7a8e0273c1019f1aa13485d9d /modules.d/99base
parent2b6dd6a1fc7f5d15bbe2876d758693111aeddf4f (diff)
downloaddracut-5b68300899a6fa960928691e1078937222ebe8d3.tar.gz
dracut-5b68300899a6fa960928691e1078937222ebe8d3.tar.bz2
dracut-5b68300899a6fa960928691e1078937222ebe8d3.zip
dracut-lib.sh: force hide plymouth in shutdown emergency shell
Diffstat (limited to 'modules.d/99base')
-rwxr-xr-xmodules.d/99base/dracut-lib.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
index 127ae429..83ac68f6 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