6 PID
=`pidof -o %PPID /sbin/mdadm`
9 stat_busy
"Starting mdadm RAID Monitor"
10 if [ -z "$PID" ]; then
11 /sbin
/mdadm
--monitor --scan -i /var
/run
/mdadm.pid
-f
13 if [ ! -z "$PID" -o $?
-gt 0 ]; then
21 stat_busy
"Stopping mdadm RAID Monitor"
22 [ ! -z "$PID" ] && kill $PID &>/dev
/null
36 echo "usage: $0 {start|stop|restart}"