summaryrefslogtreecommitdiff
path: root/modules.d/99shutdown
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-01-18 11:00:48 +0100
committerHarald Hoyer <harald@redhat.com>2013-01-22 15:31:22 +0100
commitebd1d65a1beddb43c4ddb9aadfaad53d0951c66b (patch)
tree5f37d29bbe17d54493b0779d8fe9be50c481b9a5 /modules.d/99shutdown
parent5b68300899a6fa960928691e1078937222ebe8d3 (diff)
downloaddracut-ebd1d65a1beddb43c4ddb9aadfaad53d0951c66b.tar.gz
dracut-ebd1d65a1beddb43c4ddb9aadfaad53d0951c66b.tar.bz2
dracut-ebd1d65a1beddb43c4ddb9aadfaad53d0951c66b.zip
shutdown: source pre-shutdown hook and force quit plymouth before umount
Diffstat (limited to 'modules.d/99shutdown')
-rwxr-xr-xmodules.d/99shutdown/shutdown.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh
index 1a6ac31a..acd3bfe6 100755
--- a/modules.d/99shutdown/shutdown.sh
+++ b/modules.d/99shutdown/shutdown.sh
@@ -24,6 +24,10 @@ fi
trap "emergency_shell --shutdown shutdown Signal caught!" 0
getarg 'rd.break=pre-shutdown' && emergency_shell --shutdown pre-shutdown "Break before pre-shutdown"
+source_hook pre-shutdown
+
+/bin/plymouth --quit || /oldroot/bin/plymouth --quit
+
umount_a() {
local _did_umount="n"
while read a mp a; do