|
Lines 190-203
Link Here
|
| 190 |
sysctl -w net.inet6.ip6.forwarding=0 |
190 |
sysctl -w net.inet6.ip6.forwarding=0 |
| 191 |
sysctl -w net.inet6.ip6.accept_rtadv=1 |
191 |
sysctl -w net.inet6.ip6.accept_rtadv=1 |
| 192 |
|
192 |
|
| 193 |
case ${ipv6_network_interfaces} in |
193 |
for i in ${ipv6_network_interfaces} ; do |
| 194 |
lo0|gif*|stf*|faith*) |
194 |
case ${i} in |
| 195 |
;; |
195 |
lo0|gif*|stf*|faith*) |
| 196 |
*) |
196 |
;; |
| 197 |
ifconfig ${ipv6_network_interfaces} up |
197 |
*) |
| 198 |
rtsol ${ipv6_network_interfaces} |
198 |
ifconfig ${i} up |
| 199 |
;; |
199 |
rtsol ${i} |
| 200 |
esac |
200 |
;; |
|
|
201 |
esac |
| 202 |
done |
| 201 |
|
203 |
|
| 202 |
# wait for DAD's completion (for global addrs) |
204 |
# wait for DAD's completion (for global addrs) |
| 203 |
sleep `sysctl -n net.inet6.ip6.dad_count` |
205 |
sleep `sysctl -n net.inet6.ip6.dad_count` |