(file) Return to commands-tog-pegasus.rc CVS log (file) (dir) Up to [Pegasus] / pegasus / rpm

Diff for /pegasus/rpm/commands-tog-pegasus.rc between version 1.7 and 1.9

version 1.7, 2009/12/15 10:52:32 version 1.9, 2011/08/11 06:49:01
Line 35 
Line 35 
  
 [ -e /etc/sysconfig/${PEGASUS_FLAVOR}-pegasus ] && . /etc/sysconfig/${PEGASUS_FLAVOR}-pegasus; [ -e /etc/sysconfig/${PEGASUS_FLAVOR}-pegasus ] && . /etc/sysconfig/${PEGASUS_FLAVOR}-pegasus;
  
   if [ -e /lib/lsb/init-functions ]; then
 . /lib/lsb/init-functions . /lib/lsb/init-functions
   else
       . /etc/init.d/functions
       log_success_msg() {
           echo -n $*
           success "$*"
           echo
       }
       log_failure_msg() {
           echo -n $*
           failure "$*"
           echo
       }
   fi
   
 RETVAL=0 RETVAL=0
  
 case "$1" in case "$1" in
Line 43 
Line 58 
         if [ ! -e ${PEGASUS_SSL_CONF_FILE} ] || [ ! -e ${PEGASUS_SSL_CERT_FILE} ] ||         if [ ! -e ${PEGASUS_SSL_CONF_FILE} ] || [ ! -e ${PEGASUS_SSL_CERT_FILE} ] ||
            [ ! -e ${PEGASUS_SSL_KEY_FILE} ]  || [ ! -e ${PEGASUS_SSL_TRUSTSTORE} ]; then            [ ! -e ${PEGASUS_SSL_KEY_FILE} ]  || [ ! -e ${PEGASUS_SSL_TRUSTSTORE} ]; then
            if [ -x $PEGASUS_SCRIPT_DIR/genOpenPegasusSSLCerts ]; then            if [ -x $PEGASUS_SCRIPT_DIR/genOpenPegasusSSLCerts ]; then
                echo -n "$(PEGASUS_FLAVOR)-pegasus: Generating cimserver SSL certificates...";                 echo -n "${PEGASUS_FLAVOR}-pegasus: Generating cimserver SSL certificates...";
                $PEGASUS_SCRIPT_DIR/genOpenPegasusSSLCerts;                $PEGASUS_SCRIPT_DIR/genOpenPegasusSSLCerts;
                if [ $? -eq 0 ]; then                if [ $? -eq 0 ]; then
                    echo "SSL certificates generated";                    echo "SSL certificates generated";


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.9

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2