7 config_get proto "$INTERFACE" proto
8 config_get_bool ip6slaac "$INTERFACE" ip6slaac
10 if [ "$proto" = "static" -a "$ip6slaac" = "1" ]; then
11 echo 2 > "/proc/sys/net/ipv6/conf/$DEVICE/accept_ra"
12 echo 2 > "/proc/sys/net/ipv6/conf/$DEVICE/forwarding"
14 # Though this should be save here, it is not recommended
15 echo 1 > "/proc/sys/net/ipv6/conf/$DEVICE/disable_ipv6"
16 echo 0 > "/proc/sys/net/ipv6/conf/$DEVICE/disable_ipv6"