version 1.155, 2015/09/13 13:51:57 |
version 1.156, 2015/09/27 20:32:33 |
|
|
# 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 |
} |
} |
|
|