3 # cpqarrayd Start/Stop Compaq Array monitor
6 # description: The cpqarrayd monitors the status of Compaq Raid Arrays, \
7 # and reports via syslog or traps
8 # processname: cpqarrayd
10 # Source function library.
11 . /etc/rc.d/init.d/functions
14 if [ -f /etc/sysconfig/cpqarrayd ]; then
15 . /etc/sysconfig/cpqarrayd
18 [ -f /usr/sbin/cpqarrayd ] || exit 0
22 # See how we were called.
25 echo -n "Starting cpqarrayd: "
26 daemon /usr/sbin/cpqarrayd $CPQ_PARAMS
29 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/cpqarrayd
32 echo -n "Stopping cpqarrayd: "
36 [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/cpqarrayd
48 echo "Usage: cpqarrayd {start|stop|status|restart|reload}"