diff options
author | Harald Hoyer <harald@redhat.com> | 2013-01-18 11:00:48 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-01-22 15:31:22 +0100 |
commit | ebd1d65a1beddb43c4ddb9aadfaad53d0951c66b (patch) | |
tree | 5f37d29bbe17d54493b0779d8fe9be50c481b9a5 /modules.d/99shutdown | |
parent | 5b68300899a6fa960928691e1078937222ebe8d3 (diff) | |
download | dracut-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-x | modules.d/99shutdown/shutdown.sh | 4 |
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 |