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

Diff for /src/etc/rc between version 1.88 and 1.89

version 1.88, 1998/08/28 04:42:38 version 1.89, 1998/09/19 02:31:51
Line 97 
Line 97 
 fi  fi
 syslogd ${syslogd_flags}  syslogd ${syslogd_flags}
   
   # /etc/ifaliases, if it exists, contains the names of additional IP
   # addresses for each interface. It is formatted as a series of lines
   # that contain
   #       interface address netmask
   if [ -f /etc/ifaliases ]; then
   (
           # delete comments and blank lines
           set -- `sed -e 's/#.*$//' /etc/ifaliases | grep -v '^$'`
           while [ $# -ge 3 ] ; do
                   ifconfig $1 inet alias $2 netmask $3
                   route -n add -host $2 localhost
                   shift 3
           done
   )
   fi
   
 # $named_flags, $named_user, and $named_chroot are imported from /etc/rc.conf;  # $named_flags, $named_user, and $named_chroot are imported from /etc/rc.conf;
 # if $named_flags != NO, named is run.  # if $named_flags != NO, named is run.
 if [ "X${named_flags}" != X"NO" ]; then  if [ "X${named_flags}" != X"NO" ]; then
Line 114 
Line 130 
                 named_flags="-t ${named_chroot} ${named_flags}"                  named_flags="-t ${named_chroot} ${named_flags}"
         fi          fi
         echo 'starting named';          named $named_flags          echo 'starting named';          named $named_flags
 fi  
   
 # /etc/ifaliases, if it exists, contains the names of additional IP  
 # addresses for each interface. It is formatted as a series of lines  
 # that contain  
 #       interface address netmask  
 if [ -f /etc/ifaliases ]; then  
 (  
         # delete comments and blank lines  
         set -- `sed -e 's/#.*$//' /etc/ifaliases | grep -v '^$'`  
         while [ $# -ge 3 ] ; do  
                 ifconfig $1 inet alias $2 netmask $3  
                 route -n add -host $2 localhost  
                 shift 3  
         done  
 )  
 fi  fi
   
 if [ X"${ipfilter}" = X"YES" -a X"${ipmon_flags}" != X"NO" ]; then  if [ X"${ipfilter}" = X"YES" -a X"${ipmon_flags}" != X"NO" ]; then

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89