summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-09 12:12:30 +0000
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-09 12:12:30 +0000
commitd240562be4a4a0c39a8e4c33c22c8315264fe847 (patch)
tree91c5e5abddb2951ca695c3ac80be9bec63f801a6
parentaca8c0bb9a8bdd59a3a4e71577e33f1811720459 (diff)
Remove deprecated ip6slaac option
* use proto=dhcpv6 with reqprefix=no instead git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36280 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static19
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 d7248948e6..0000000000
--- 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
-