subsys=/var/lock/subsys/ibacm
daemon() { /sbin/daemon ${1+"$@"}; }
-xstatus() { /sbin/status ${1+"$@"}; }
if [-s /etc/init.d/functions]; then
# RHEL / CentOS / SL / Fedora
. /etc/init.d/functions
-
- rc_status() { :; }
- rc_exit() { exit $RETVAL; }
elif [-s /lib/lsb/init-functions]; then
# SLES / OpenSuSE / Debian
. /lib/lsb/init-functions
daemon() { /sbin/start_daemon ${1+"$@"}; }
- xstatus() { /sbin/checkproc ${1+"$@"}; }
-
- rc_exit() { exit $RETVAL; }
success() { log_success_msg; }
failure() { log_failure_msg; }
elif [-s /etc/rc.status]; then
# Older SuSE
. /etc/rc.status
daemon() { /sbin/start_daemon ${1+"$@"}; }
- xstatus() { /sbin/checkproc ${1+"$@"}; }
-
success() { rc_status -v; }
failure() { rc_status -v; }
fi
;;
esac
-_rc_status_all=$RETVAL
-rc_exit
+exit $RETVAL