diff options
author | Steven Barth <cyrus@openwrt.org> | 2013-04-09 12:12:30 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2013-04-09 12:12:30 +0000 |
commit | 3abc91552264757680134b2be9f2f870c77aabcc (patch) | |
tree | da8815e7942f7f8edf1c06a185ddd323a29bd7c0 /package/network/config | |
parent | 2c087dc785d32a17f31fd800fb0a661ef027c915 (diff) | |
download | mtk-20170518-3abc91552264757680134b2be9f2f870c77aabcc.zip mtk-20170518-3abc91552264757680134b2be9f2f870c77aabcc.tar.gz mtk-20170518-3abc91552264757680134b2be9f2f870c77aabcc.tar.bz2 |
Remove deprecated ip6slaac option * use proto=dhcpv6 with reqprefix=no instead
SVN-Revision: 36280
Diffstat (limited to 'package/network/config')
-rw-r--r-- | package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static | 19 |
1 files changed, 0 insertions, 19 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 deleted file mode 100644 index d724894..0000000 --- a/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static +++ /dev/null @@ -1,19 +0,0 @@ -case "$ACTION" in - ifup) - . /lib/functions.sh - - local proto ip6slaac - config_load network - config_get proto "$INTERFACE" proto - config_get_bool ip6slaac "$INTERFACE" ip6slaac - - if [ "$proto" = "static" -a "$ip6slaac" = "1" ]; then - echo 2 > "/proc/sys/net/ipv6/conf/$DEVICE/accept_ra" - - # 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 - |