mdraid: add shutdown script

This commit is contained in:
Harald Hoyer 2011-05-31 14:47:34 +02:00
parent 20636ce09f
commit 657d68cfff
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,2 @@
echo "Disassembling mdraid devices."
mdadm -v --stop --scan

View File

@ -77,5 +77,6 @@ install() {
inst "$moddir/md_finished.sh" /sbin/md_finished.sh
inst_hook pre-trigger 30 "$moddir/parse-md.sh"
inst "$moddir/mdraid-cleanup.sh" /sbin/mdraid-cleanup
inst_hook shutdown 30 "$moddir/md-shutdown.sh"
}