summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e5b5430)
Changed files:
cpqarrayd.init -> 1.5
. /etc/sysconfig/cpqarrayd
fi
. /etc/sysconfig/cpqarrayd
fi
-RETVAL=0
-# See how we were called.
-case "$1" in
-start)
# Check if the service is already running?
if [ ! -f /var/lock/subsys/cpqarrayd ]; then
msg_starting cpqarrayd
# Check if the service is already running?
if [ ! -f /var/lock/subsys/cpqarrayd ]; then
msg_starting cpqarrayd
else
msg_already_running cpqarrayd
fi
else
msg_already_running cpqarrayd
fi
if [ -f /var/lock/subsys/cpqarrayd ]; then
# Stop daemons.
msg_stopping cpqarrayd
if [ -f /var/lock/subsys/cpqarrayd ]; then
# Stop daemons.
msg_stopping cpqarrayd
else
msg_not_running cpqarrayd
fi
else
msg_not_running cpqarrayd
fi
+}
+
+RETVAL=0
+# See how we were called.
+case "$1" in
+start)
+ start
+ ;;
+stop)
+ stop
- $0 stop
- $0 start
- RETVAL=$?
;;
status)
status cpqarrayd
;;
status)
status cpqarrayd