shutdown: source pre-shutdown hook and force quit plymouth before umount

master
Harald Hoyer 2013-01-18 11:00:48 +01:00
parent 5b68300899
commit ebd1d65a1b
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ fi
trap "emergency_shell --shutdown shutdown Signal caught!" 0 trap "emergency_shell --shutdown shutdown Signal caught!" 0
getarg 'rd.break=pre-shutdown' && emergency_shell --shutdown pre-shutdown "Break before pre-shutdown" 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() { umount_a() {
local _did_umount="n" local _did_umount="n"
while read a mp a; do while read a mp a; do