diff options
author | cyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-28 14:07:27 +0000 |
---|---|---|
committer | cyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-28 14:07:27 +0000 |
commit | d13c2f4628849e9b804e636bc6b62dfe7b44de3d (patch) | |
tree | 2bde5b028b2ec8c8506c3a959fc9936263c7880a /package/network/config/netifd/files | |
parent | 366c624699f0b52cb5ec0630191e14561d8723ef (diff) |
netifd: IPv6 sysctl, restart IPv6 in static mode to send RS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35347 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/config/netifd/files')
-rw-r--r-- | package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static b/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static index 9f5b72716b..7f671b1c21 100644 --- a/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static +++ b/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static @@ -10,6 +10,10 @@ case "$ACTION" in if [ "$proto" = "static" -a "$ip6slaac" = "1" ]; then echo 2 > "/proc/sys/net/ipv6/conf/$DEVICE/accept_ra" echo 2 > "/proc/sys/net/ipv6/conf/$DEVICE/forwarding" + + # Though this should be save here, it is not recommended + echo 1 > "/proc/sys/net/ipv6/conf/$DEVICE/disable_ipv6" + echo 0 > "/proc/sys/net/ipv6/conf/$DEVICE/disable_ipv6" fi ;; esac |