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

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

version 1.155, 2015/09/13 13:51:57 version 1.156, 2015/09/27 20:32:33
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() {
         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                          ifconfig $curif inet6 autoconf
                         for curif in $rtsolif; do                  done
                                 printf ' %s' $curif  
                                 ifconfig $curif inet6 autoconf  
                         done  
                 fi  
                 echo  
         fi          fi
 }  }
   

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