summaryrefslogtreecommitdiff
path: root/package/network/ipv6/ipv6-support/files
diff options
context:
space:
mode:
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-13 17:25:43 +0000
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-13 17:25:43 +0000
commiteae757f76fb0596c5f1e9e58ca06df3629de4211 (patch)
tree63e2b535aed7200a7aaff964e1ba631b8c5ce560 /package/network/ipv6/ipv6-support/files
parentc30cb2cb1dd138ba5748852d4e7f00d49f4dcef0 (diff)
ipv6-support: don't use disable_ipv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35134 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6/ipv6-support/files')
-rwxr-xr-xpackage/network/ipv6/ipv6-support/files/dhcpv6.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/network/ipv6/ipv6-support/files/dhcpv6.sh b/package/network/ipv6/ipv6-support/files/dhcpv6.sh
index 9609f04d5c..5a668cd9b1 100755
--- a/package/network/ipv6/ipv6-support/files/dhcpv6.sh
+++ b/package/network/ipv6/ipv6-support/files/dhcpv6.sh
@@ -20,9 +20,8 @@ if [ "$state" == "started" ]; then
conf_set "$device" accept_ra 2
conf_set "$device" forwarding 2
- # Trigger RS
- conf_set "$device" disable_ipv6 1
- conf_set "$device" disable_ipv6 0
+ # Send RS on interface
+ [ -x /usr/sbin/6relayd ] && /usr/sbin/6relayd -s "$device"
exit 0
elif [ "$state" == "stopped" ]; then