[BACK]Return to rc CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/rc between version 1.332 and 1.333

version 1.332, 2009/08/12 13:21:15 version 1.333, 2009/11/23 12:14:25
Line 371 
Line 371 
         echo 'starting named';          named $named_flags          echo 'starting named';          named $named_flags
 fi  fi
   
   if [ ! -f /etc/isakmpd/private/local.key ]; then
           echo -n "openssl: generating new isakmpd RSA key... "
           if /usr/sbin/openssl genrsa -out /etc/isakmpd/private/local.key 2048 \
               > /dev/null 2>&1; then
                   chmod 600 /etc/isakmpd/private/local.key
                   openssl rsa -out /etc/isakmpd/local.pub \
                       -in /etc/isakmpd/private/local.key -pubout > /dev/null 2>&1
                   echo done.
           else
                   echo failed.
           fi
   fi
   
 if [ X"${isakmpd_flags}" != X"NO" ]; then  if [ X"${isakmpd_flags}" != X"NO" ]; then
         if [ X"${sasyncd_flags}" != X"NO" ]; then          if [ X"${sasyncd_flags}" != X"NO" ]; then
                 isakmpd_flags="-S ${isakmpd_flags}"                  isakmpd_flags="-S ${isakmpd_flags}"
Line 596 
Line 609 
         fi          fi
 fi  fi
   
 if [ ! -f /etc/isakmpd/private/local.key ]; then  
         echo -n "openssl: generating new isakmpd RSA key... "  
         if /usr/sbin/openssl genrsa -out /etc/isakmpd/private/local.key 2048 \  
             > /dev/null 2>&1; then  
                 chmod 600 /etc/isakmpd/private/local.key  
                 openssl rsa -out /etc/isakmpd/local.pub \  
                     -in /etc/isakmpd/private/local.key -pubout > /dev/null 2>&1  
                 echo done.  
         else  
                 echo failed.  
         fi  
 fi  
   
 echo -n starting network daemons:  echo -n starting network daemons:
   
   if [ X"${sshd_flags}" != X"NO" ]; then
           echo -n ' sshd';                /usr/sbin/sshd ${sshd_flags};
   fi
   
 if [ X"${snmpd_flags}" != X"NO" ]; then  if [ X"${snmpd_flags}" != X"NO" ]; then
         echo -n ' snmpd';               /usr/sbin/snmpd $snmpd_flags          echo -n ' snmpd';               /usr/sbin/snmpd $snmpd_flags
 fi  fi
Line 726 
Line 730 
   
 if [ X"${inetd}" = X"YES" -a -e /etc/inetd.conf ]; then  if [ X"${inetd}" = X"YES" -a -e /etc/inetd.conf ]; then
         echo -n ' inetd';               inetd          echo -n ' inetd';               inetd
 fi  
   
 if [ X"${sshd_flags}" != X"NO" ]; then  
         echo -n ' sshd';                /usr/sbin/sshd ${sshd_flags};  
 fi  fi
   
 if [ X"${spamd_flags}" != X"NO" ]; then  if [ X"${spamd_flags}" != X"NO" ]; then

Legend:
Removed from v.1.332  
changed lines
  Added in v.1.333