aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-09-29 16:26:20 +0000
committerBill Nottingham <notting@redhat.com>2000-09-29 16:26:20 +0000
commitd79b4a2e3b12a7b518fe2da59b325c66826e2726 (patch)
tree9ec16c25002e18cd51ccafc669a72be7ef09312f /rc.d
parentd34de167184753bce337107b1a5573727f672875 (diff)
downloadinitscripts-d79b4a2e3b12a7b518fe2da59b325c66826e2726.tar
initscripts-d79b4a2e3b12a7b518fe2da59b325c66826e2726.tar.gz
initscripts-d79b4a2e3b12a7b518fe2da59b325c66826e2726.tar.bz2
initscripts-d79b4a2e3b12a7b518fe2da59b325c66826e2726.tar.xz
initscripts-d79b4a2e3b12a7b518fe2da59b325c66826e2726.zip
don't turn off raid on shutdown ; the kernel will do it
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/halt15
1 files changed, 0 insertions, 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.