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

Diff for /src/etc/rc between version 1.373 and 1.374

version 1.373, 2011/07/08 01:41:25 version 1.374, 2011/07/08 01:43:09
Line 428 
Line 428 
         fi          fi
 fi  fi
   
 if [ X"${named_flags}" != X"NO" ]; then  
         if ! cmp -s /etc/rndc.key /var/named/etc/rndc.key ; then  
                 echo -n "rndc-confgen: generating new shared secret... "  
                 if rndc-confgen -a -t /var/named >/dev/null 2>&1; then  
                         chmod 0640 /var/named/etc/rndc.key >/dev/null 2>&1  
                         echo done.  
                 else  
                         echo failed.  
                 fi  
         fi  
 fi  
   
 echo -n 'starting name service daemons:'  echo -n 'starting name service daemons:'
 start_daemon named nsd  start_daemon named nsd
 echo '.'  echo '.'
   
 if [ ! -f /etc/isakmpd/private/local.key ]; then  
         echo -n "openssl: generating new isakmpd/iked RSA key... "  
         if 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 [ ! -f /etc/iked/private/local.key ]; then  
         # Just copy the generated isakmpd key  
         cp /etc/isakmpd/private/local.key /etc/iked/private/local.key  
         chmod 600 /etc/iked/private/local.key  
         cp /etc/isakmpd/local.pub /etc/iked/local.pub  
 fi  
   
 echo -n 'starting IPsec daemons:'  echo -n 'starting IPsec daemons:'
 start_daemon isakmpd iked sasyncd  start_daemon isakmpd iked sasyncd
 echo '.'  echo '.'
Line 596 
Line 564 
 if [ -x /usr/libexec/vi.recover ]; then  if [ -x /usr/libexec/vi.recover ]; then
         echo 'preserving editor files.';        /usr/libexec/vi.recover          echo 'preserving editor files.';        /usr/libexec/vi.recover
 fi  fi
   
 ssh-keygen -A  
   
 echo -n 'starting network daemons:'  echo -n 'starting network daemons:'
   

Legend:
Removed from v.1.373  
changed lines
  Added in v.1.374