From d79b4a2e3b12a7b518fe2da59b325c66826e2726 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 29 Sep 2000 16:26:20 +0000 Subject: don't turn off raid on shutdown ; the kernel will do it --- rc.d/init.d/halt | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 48b3a328..8177134c 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -84,21 +84,6 @@ do sig=-9 done -# turn off raid -if [ -x /sbin/raidstop -a -f /etc/raidtab ]; then - # we can not use raidstop -a here because this will only stop - # devices listed in the default config file which is not always - # the case. So we look only for the active raid devices - if [ -f /proc/mdstat ] ; then - mddevs=$(grep ^md /proc/mdstat | awk '{ print $1 }') - for mddev in $mddevs ; do - runcmd "Turning off RAID for $mddev: " raidstop /dev/$mddev - done - unset mddev mddevs - fi - #runcmd "Turning off RAID: " /sbin/raidstop -a -fi - [ -f /proc/bus/usb/devices ] && umount /proc/bus/usb # Remount read only anything that's left mounted. -- cgit v1.2.1