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

Diff for /src/etc/netstart between version 1.161 and 1.162

version 1.161, 2015/11/12 23:00:13 version 1.162, 2015/11/12 23:11:11
Line 153 
Line 153 
         done          done
 }  }
   
 # IPv6 autoconf the interfaces in the list at $rtsolif  # IPv6 autoconf the interfaces in the $rtsolif list.
 # Usage: ifautoconf  # Usage: ifv6autoconf
 ifautoconf() {  ifv6autoconf() {
           local _if
   
         # $ip6kernel will not have been set if we were invoked with a          # $ip6kernel will not have been set if we were invoked with a
         # list of interface names          # list of interface names
         if ifconfig lo0 inet6 >/dev/null 2>&1; then          ifconfig lo0 inet6 >/dev/null 2>&1 || return 0
                 for curif in $rtsolif; do  
                         ifconfig $curif inet6 autoconf          for _if in $rtsolif; do
                 done                  ifconfig $_if inet6 autoconf
         fi          done
 }  }
   
 # Get network related vars from rc.conf using the parsing routine from rc.subr.  # Get network related vars from rc.conf using the parsing routine from rc.subr.
Line 173 
Line 175 
 # interfaces (or bridges) and return.  # interfaces (or bridges) and return.
 if (($# > 0)); then  if (($# > 0)); then
         for _if; do ifstart $_if; done          for _if; do ifstart $_if; done
         ifautoconf          ifv6autoconf
         return          return
 fi  fi
   
Line 251 
Line 253 
 ifmstart "trunk svlan vlan carp"  ifmstart "trunk svlan vlan carp"
   
 # Now that $rtsolif has been populated, IPv6 autoconf those interfaces  # Now that $rtsolif has been populated, IPv6 autoconf those interfaces
 ifautoconf  ifv6autoconf
   
 # Look for default routes in /etc/mygate.  # Look for default routes in /etc/mygate.
 [[ -z $dhcpif ]] && stripcom /etc/mygate | while read gw; do  [[ -z $dhcpif ]] && stripcom /etc/mygate | while read gw; do

Legend:
Removed from v.1.161  
changed lines
  Added in v.1.162