projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b68300
)
shutdown: source pre-shutdown hook and force quit plymouth before umount
author
Harald Hoyer
<harald@redhat.com>
Fri, 18 Jan 2013 10:00:48 +0000
(11:00 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 22 Jan 2013 14:31:22 +0000
(15:31 +0100)
modules.d/99shutdown/shutdown.sh
patch
|
blob
|
history
diff --git
a/modules.d/99shutdown/shutdown.sh
b/modules.d/99shutdown/shutdown.sh
index
1a6ac31
..
acd3bfe
100755
(executable)
--- 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