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

Diff for /src/etc/rc between version 1.355 and 1.356

version 1.355, 2011/07/07 18:36:03 version 1.356, 2011/07/07 18:40:00
Line 94 
Line 94 
         set -- `stripcom /etc/wsconsctl.conf`          set -- `stripcom /etc/wsconsctl.conf`
         IFS="$save_IFS"          IFS="$save_IFS"
         while [ $# -ge 1 ] ; do          while [ $# -ge 1 ] ; do
                 eval /sbin/wsconsctl $1                  eval wsconsctl $1
                 shift                  shift
         done          done
 }  }
Line 368 
Line 368 
 if [ X"${named_flags}" != X"NO" ]; then  if [ X"${named_flags}" != X"NO" ]; then
         if ! cmp -s /etc/rndc.key /var/named/etc/rndc.key ; then          if ! cmp -s /etc/rndc.key /var/named/etc/rndc.key ; then
                 echo -n "rndc-confgen: generating new shared secret... "                  echo -n "rndc-confgen: generating new shared secret... "
                 if /usr/sbin/rndc-confgen -a -t /var/named >/dev/null 2>&1; then                  if rndc-confgen -a -t /var/named >/dev/null 2>&1; then
                         chmod 0640 /var/named/etc/rndc.key >/dev/null 2>&1                          chmod 0640 /var/named/etc/rndc.key >/dev/null 2>&1
                         echo done.                          echo done.
                 else                  else
Line 383 
Line 383 
   
 if [ ! -f /etc/isakmpd/private/local.key ]; then  if [ ! -f /etc/isakmpd/private/local.key ]; then
         echo -n "openssl: generating new isakmpd/iked RSA key... "          echo -n "openssl: generating new isakmpd/iked RSA key... "
         if /usr/sbin/openssl genrsa -out /etc/isakmpd/private/local.key 2048 \          if openssl genrsa -out /etc/isakmpd/private/local.key 2048 \
             > /dev/null 2>&1; then              > /dev/null 2>&1; then
                 chmod 600 /etc/isakmpd/private/local.key                  chmod 600 /etc/isakmpd/private/local.key
                 openssl rsa -out /etc/isakmpd/local.pub \                  openssl rsa -out /etc/isakmpd/local.pub \
Line 540 
Line 540 
         echo 'turning on accounting';   accton /var/account/acct          echo 'turning on accounting';   accton /var/account/acct
 fi  fi
   
 if [ -f /sbin/ldconfig ]; then  if [ -f ldconfig ]; then
         echo 'creating runtime link editor directory cache.'          echo 'creating runtime link editor directory cache.'
         if [ -d /usr/local/lib ]; then          if [ -d /usr/local/lib ]; then
                 shlib_dirs="/usr/local/lib $shlib_dirs"                  shlib_dirs="/usr/local/lib $shlib_dirs"
Line 555 
Line 555 
         echo 'preserving editor files.';        /usr/libexec/vi.recover          echo 'preserving editor files.';        /usr/libexec/vi.recover
 fi  fi
   
 /usr/bin/ssh-keygen -A  ssh-keygen -A
   
 echo -n 'starting network daemons:'  echo -n 'starting network daemons:'
   
Line 576 
Line 576 
         ftpproxy identd inetd rarpd bootparamd rbootd mopd          ftpproxy identd inetd rarpd bootparamd rbootd mopd
   
 if [ X"${bt}" != X"NO" ]; then  if [ X"${bt}" != X"NO" ]; then
         echo -n ' btd';                 /usr/sbin/btd          echo -n ' btd';                 btd
         if [ -f ${bt_rules} ]; then          if [ -f ${bt_rules} ]; then
                 btctl -f ${bt_rules}                  btctl -f ${bt_rules}
         fi          fi
Line 638 
Line 638 
 date  date
   
 if [ X"${wsmoused_flags}" != X"NO" -a -x /usr/sbin/wsmoused ]; then  if [ X"${wsmoused_flags}" != X"NO" -a -x /usr/sbin/wsmoused ]; then
         echo 'starting wsmoused...';    /usr/sbin/wsmoused ${wsmoused_flags}          echo 'starting wsmoused...';    wsmoused ${wsmoused_flags}
 fi  fi
   
 # Alternatively, on some architectures, xdm may be started in /etc/ttys.  # Alternatively, on some architectures, xdm may be started in /etc/ttys.

Legend:
Removed from v.1.355  
changed lines
  Added in v.1.356