(file) Return to wbem22.lnx CVS log (file) (dir) Up to [Pegasus] / pegasus / rpm / Attic

Diff for /pegasus/rpm/Attic/wbem22.lnx between version 1.2 and 1.6

version 1.2, 2003/06/19 17:35:27 version 1.6, 2004/04/19 17:01:11
Line 25 
Line 25 
 # Author: Konrad Rzeszutek <konradr@us.ibm.com> # Author: Konrad Rzeszutek <konradr@us.ibm.com>
 # #
 # Modified By: # Modified By:
   #       10-28-2003: Martin Knipper <knipper@de.ibm.com>
   #               - Changed the chkconfig runlevel from 2345 to 3 and 5
   #               - Fixed a confusing output about syslog when you ask for the status on SuSE
   #               - The startproc command for stopping pegasus removed
 # #
 #%///////////////////////////////////////////////////////////////////////////// #%/////////////////////////////////////////////////////////////////////////////
 # #
 # #
 # chkconfig: 2345 26 74  # chkconfig: 35 26 74
 # description: Pegasus CIMOM enables a Linux System for WBEM (visit http://www.dmtf.org for # description: Pegasus CIMOM enables a Linux System for WBEM (visit http://www.dmtf.org for
 # more information about CIM and WBEM). With appropriate instrumentation # more information about CIM and WBEM). With appropriate instrumentation
 # Linux can provide systems management information or be managed by a remote # Linux can provide systems management information or be managed by a remote
Line 50 
Line 54 
 ### END INIT INFO ### END INIT INFO
  
 isUnited=`grep "UnitedLinux" /etc/issue` isUnited=`grep "UnitedLinux" /etc/issue`
 isSUSE=`grep "SuSE" /etc/issue`  isSUSE=`grep -i "SuSE" /etc/issue`
  
 if [ "$isUnited" ] || [ "$isSUSE" ]; then if [ "$isUnited" ] || [ "$isSUSE" ]; then
  
Line 62 
Line 66 
   case "$1" in   case "$1" in
     start)     start)
         echo -n "Starting up Pegasus CIMOM daemon  "         echo -n "Starting up Pegasus CIMOM daemon  "
         startproc /usr/sbin/cimserver -D /etc/pegasus          startproc /usr/sbin/cimserver
         rc_status -v         rc_status -v
         ;;         ;;
     stop)     stop)
         echo -n "Shutting down Pegasus CIMOM daemon  "         echo -n "Shutting down Pegasus CIMOM daemon  "
         startproc /usr/sbin/cimserver -s          cimserver -s || killproc -TERM /usr/sbin/cimserver
         rc_status -v         rc_status -v
         ;;         ;;
     try-restart)     try-restart)
Line 80 
Line 84 
         rc_status         rc_status
         ;;         ;;
     status)     status)
         echo -n "Checking for service syslog:"          echo -n "Checking for Pegasus CIMOM daemon:"
         checkproc /usr/sbin/cimserver  ; rc_status -v         checkproc /usr/sbin/cimserver  ; rc_status -v
         ;;         ;;
     *)     *)
Line 97 
Line 101 
    case "$1" in    case "$1" in
      start)      start)
         echo -n $"Starting up Pegasus CIMOM daemon: "         echo -n $"Starting up Pegasus CIMOM daemon: "
         daemon cimserver -D /etc/pegasus          daemon cimserver
         RETVAL=$?         RETVAL=$?
         echo         echo
         ;;         ;;


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2