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

Diff for /src/etc/netstart between version 1.154 and 1.155

version 1.154, 2015/09/11 12:21:52 version 1.155, 2015/09/13 13:51:57
Line 154 
Line 154 
 # IPv6 autoconf the interfaces in the list at $rtsolif  # IPv6 autoconf the interfaces in the list at $rtsolif
 # Usage: ifautoconf  # Usage: ifautoconf
 ifautoconf() {  ifautoconf() {
         printf 'IPv6 autoconf:'          if [[ -n $rtsolif ]]; then
         # $ip6kernel will not have been set if we were invoked with a                  printf 'IPv6 autoconf:'
         # list of interface names                  # $ip6kernel will not have been set if we were invoked with a
         if ifconfig lo0 inet6 >/dev/null 2>&1; then                  # list of interface names
                 for curif in $rtsolif; do                  if ifconfig lo0 inet6 >/dev/null 2>&1; then
                         printf ' %s' $curif                          for curif in $rtsolif; do
                         ifconfig $curif inet6 autoconf                                  printf ' %s' $curif
                 done                                  ifconfig $curif inet6 autoconf
                           done
                   fi
                   echo
         fi          fi
         echo  
 }  }
   
 # 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.

Legend:
Removed from v.1.154  
changed lines
  Added in v.1.155