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

Diff for /src/etc/rc between version 1.149 and 1.150

version 1.149, 2000/08/05 06:38:55 version 1.150, 2000/08/25 16:14:12
Line 349 
Line 349 
         ldconfig $shlib_dirs          ldconfig $shlib_dirs
 fi  fi
   
 if [ ! -f /etc/ssh_host_dsa_key -a -x /usr/bin/ssh-keygen ]; then  if [ ! -f /etc/ssh_host_dsa_key ]; then
         echo -n "ssh-keygen: generating new DSA host key... "          echo -n "ssh-keygen: generating new DSA host key... "
         if /usr/bin/ssh-keygen -q -d -f /etc/ssh_host_dsa_key -N ''; then          if /usr/bin/ssh-keygen -q -d -f /etc/ssh_host_dsa_key -N ''; then
                 echo done.                  echo done.
Line 357 
Line 357 
                 echo failed.                  echo failed.
         fi          fi
 fi  fi
 if [ ! -f /etc/ssh_host_key -a -x /usr/bin/ssh-keygen ] && \  if [ ! -f /etc/ssh_host_key ]; then
     ssh-keygen -R; then  
         echo -n "ssh-keygen: generating new RSA host key... "          echo -n "ssh-keygen: generating new RSA host key... "
         if /usr/bin/ssh-keygen -q -f /etc/ssh_host_key -N ''; then          if /usr/bin/ssh-keygen -q -f /etc/ssh_host_key -N ''; then
                 echo done.                  echo done.
Line 492 
Line 491 
 fi  fi
   
 if [ X"${sshd}" == X"YES" ]; then  if [ X"${sshd}" == X"YES" ]; then
         if [ -x /usr/sbin/sshd ] && /usr/sbin/sshd -Q ; then          /usr/sbin/sshd;                 echo -n ' sshd'
                 echo -n ' sshd'  
         elif [ -x /usr/local/sbin/sshd ] && /usr/local/sbin/sshd ; then  
                 echo -n ' sshd'  
         fi  
 fi  fi
   
 echo '.'  echo '.'

Legend:
Removed from v.1.149  
changed lines
  Added in v.1.150