diff options
author | Erik Troan <ewt@redhat.com> | 1998-10-15 15:46:15 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1998-10-15 15:46:15 +0000 |
commit | c66e28a7f8c02bb4fd3b095c0d11e9a45a040e57 (patch) | |
tree | 57dd902a2f4c6a27f479406ad5c3d87754e78a26 | |
parent | 9823cd1cdc1c5e823fdfae3418234a2a10a786d2 (diff) | |
download | initscripts-c66e28a7f8c02bb4fd3b095c0d11e9a45a040e57.tar initscripts-c66e28a7f8c02bb4fd3b095c0d11e9a45a040e57.tar.gz initscripts-c66e28a7f8c02bb4fd3b095c0d11e9a45a040e57.tar.bz2 initscripts-c66e28a7f8c02bb4fd3b095c0d11e9a45a040e57.tar.xz initscripts-c66e28a7f8c02bb4fd3b095c0d11e9a45a040e57.zip |
added raidstop stuff
-rwxr-xr-x | rc.d/init.d/halt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index c16b15c6..0aca9dfd 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -52,6 +52,11 @@ mount | awk '/ext2/ { print $3 }' | while read line; do mount -n -o ro,remount $line done +# turn off raid +if [ -x /sbin/raidstop && -f /etc/raidtab ]; then + /sbin/raidstop -a -r +fi + # Now halt or reboot. echo "$message" [ -f /fastboot ] && echo "On the next boot fsck will be skipped." |