shutdown: source pre-shutdown hook and force quit plymouth before umount
authorHarald Hoyer <harald@redhat.com>
Fri, 18 Jan 2013 10:00:48 +0000 (11:00 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 22 Jan 2013 14:31:22 +0000 (15:31 +0100)
modules.d/99shutdown/shutdown.sh

index 1a6ac31..acd3bfe 100755 (executable)
@@ -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