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

Diff for /src/etc/rc between version 1.132 and 1.133

version 1.132, 2000/04/06 18:26:04 version 1.133, 2000/04/26 22:34:54
Line 366 
Line 366 
         ldconfig $shlib_dirs          ldconfig $shlib_dirs
 fi  fi
   
 if [ ! -f /etc/ssh_host_key -a -x /usr/bin/ssh-keygen ]; then  if [ ! -f /etc/ssh_dsa_host_key -a -x /usr/bin/ssh-keygen ]; then
         umask 022          echo -n "ssh-keygen: generating new DSA host key... "
         echo -n "ssh-keygen: generating new host key... "          if /usr/bin/ssh-keygen -q -d -f /etc/ssh_dsa_host_key -N ''; then
                   echo done.
           else
                   echo failed.
           fi
   fi
   if [ ! -f /etc/ssh_host_key -a -x /usr/bin/ssh-keygen ] && \
       ssh-keygen -R; then
           echo -n "ssh-keygen: generating new RSA host key... "
         if /usr/bin/ssh-keygen -q -b 1024 -f /etc/ssh_host_key -N ''; then          if /usr/bin/ssh-keygen -q -b 1024 -f /etc/ssh_host_key -N ''; then
                 echo done.                  echo done.
         else          else
Line 505 
Line 513 
   
 if [ X"${sshd}" == X"YES" ]; then  if [ X"${sshd}" == X"YES" ]; then
         if test -x /usr/sbin/sshd && /usr/sbin/sshd -Q ; then          if test -x /usr/sbin/sshd && /usr/sbin/sshd -Q ; then
                 echo -n ' sshd';                  echo -n ' sshd'
                 #echo -n ' sshd(2022)'; /usr/sbin/sshd -p 2022          elif [ -x /usr/local/sbin/sshd && /usr/local/sbin/sshd ]; then
         elif [ -x /usr/local/sbin/sshd ]; then                  echo -n ' sshd'
                 /usr/local/sbin/sshd  
                 echo -n ' sshd';  
                 #echo -n ' sshd(2022)'; /usr/local/sbin/sshd -p 2022  
         fi          fi
 fi  fi
   

Legend:
Removed from v.1.132  
changed lines
  Added in v.1.133