mdadm: Remove initscript

udev cares about assembling all RAID arrays automatically
This commit is contained in:
Michael Tremer
2014-08-24 13:33:03 +02:00
parent a24546794d
commit d0137fe654

View File

@@ -1,47 +0,0 @@
#!/bin/sh
########################################################################
# Begin $rc_base/init.d/mdadm
#
# Description : This script controls software Raid
#
# Authors : Dirk Hoefle <dhoefle@gmx.net>
#
# Version : 01.00
#
# Notes :
#
########################################################################
. /etc/sysconfig/rc
. ${rc_functions}
case "${1}" in
start)
boot_mesg "Scan/assemble mdadm raid devices..."
mdadm --assemble --scan
echo_ok
;;
stop)
boot_mesg "Stopping Raid devices..."
mdadm --stop --scan
echo_ok
;;
restart)
${0} stop
sleep 1
${0} start
;;
status)
cat /proc/mdstat
;;
*)
echo "Usage: ${0} {start|stop|restart|status}"
exit 1
;;
esac
# End $rc_base/init.d/mdadm