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

Diff for /src/etc/netstart between version 1.101 and 1.102

version 1.101, 2004/12/30 17:33:59 version 1.102, 2005/01/04 15:40:53
Line 295 
Line 295 
         sleep `sysctl -n net.inet6.ip6.dad_count`          sleep `sysctl -n net.inet6.ip6.dad_count`
 fi  fi
   
   # The pfsync interface needs to come up before carp.
   if [ -f /etc/hostname.pfsync0 ]; then
           ifstart pfsync0
   fi
   
   # Configure all the carp interfaces which we know about.
   # They must come up after pfsync but before default route.
   for hn in /etc/hostname.*; do
           # Strip off /etc/hostname. prefix
           if=${hn#/etc/hostname.}
           test "$if" = "*" && continue
   
           case $if in
           "carp"*)
                   ifstart $if
                   ;;
           *)
                   # Regular interfaces have already been configured.
                   continue
                   ;;
           esac
   done
   
 # /etc/mygate, if it exists, contains the name of my gateway host  # /etc/mygate, if it exists, contains the name of my gateway host
 # that name must be in /etc/hosts.  # that name must be in /etc/hosts.
 if [ -f /etc/mygate ]; then  if [ -f /etc/mygate ]; then
Line 334 
Line 357 
         ;;          ;;
 esac  esac
   
 # The pfsync interface needs to come up before carp.  # Configure all the gif and gre interfaces which we know about.
 if [ -f /etc/hostname.pfsync0 ]; then  
                 ifstart pfsync0  
 fi  
   
 # Configure all the carp, gif and gre interfaces which we know about.  
 # They were delayed because they require the routes to be set.  # They were delayed because they require the routes to be set.
 for hn in /etc/hostname.*; do  for hn in /etc/hostname.*; do
         # Strip off /etc/hostname. prefix          # Strip off /etc/hostname. prefix
Line 347 
Line 365 
         test "$if" = "*" && continue          test "$if" = "*" && continue
   
         case $if in          case $if in
         "carp"*|"gif"*|"gre"*)          "gif"*|"gre"*)
                 ifstart $if                  ifstart $if
                 ;;                  ;;
         *)          *)

Legend:
Removed from v.1.101  
changed lines
  Added in v.1.102