3 # Copyright 2002 hp Information Technologies Group, L.P.
5 # See "man chkconfig" for information on next two lines (Red Hat only)
6 # chkconfig: - 2345 91 1
7 # description: HP Advanced System Management Drivers and Agents for Linux
10 # Following lines are in conformance with LSB 1.2 spec
13 # Required-Start: snmp
14 # Required-Stop: hprsm cmanic cmastor
15 # Default-Start: 2 3 4 5
17 # Description: starts hpasm (HP Advanced System Management Drivers and Agents)
21 SCRIPT=/opt/compaq/hpasm/etc/hpasm
27 # See how we were called.
30 $SCRIPT start $ADDARGS
37 $SCRIPT start $ADDARGS
40 $SCRIPT status $ADDARGS
43 $SCRIPT configure $ADDARGS
46 $SCRIPT reconfigure $ADDARGS
49 $SCRIPT unconfigure $ADDARGS
52 # do not advertise unreasonable commands that there is no reason
53 # to use with this device
54 echo "Usage: hpasm {start|stop|status|restart|configure|unconfigure|reconfigure}"