]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
Refresh of suse2
authorSean Hefty <sean.hefty@intel.com>
Wed, 5 Feb 2014 01:37:25 +0000 (17:37 -0800)
committerSean Hefty <sean.hefty@intel.com>
Wed, 5 Feb 2014 01:37:25 +0000 (17:37 -0800)
ibacm.init.in

index 0d87519ee5e3fda9a6cad42d1869328c5aec0de8..1d5632e8afd737d137e1fd73bf65d7ed0d728eed 100644 (file)
@@ -23,29 +23,20 @@ pidfile=/var/run/ibacm.pid
 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     
@@ -134,5 +125,4 @@ case $1 in
         ;;
 esac
 
-_rc_status_all=$RETVAL
-rc_exit
+exit $RETVAL