summaryrefslogtreecommitdiffhomepage
path: root/contrib/package
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2012-08-11 08:43:48 +0000
committerManuel Munz <freifunk@somakoma.de>2012-08-11 08:43:48 +0000
commit86e346f0cdd5ba11809532c14bcb76ae89cb28c8 (patch)
treec7a2dee6fb678f94f053aded342d4aee82cc6596 /contrib/package
parent72ca7e03d853500577e0f15a59a0295b83bae3e7 (diff)
meshkit: do not accept ra's on wan when using auto-ipv6
Diffstat (limited to 'contrib/package')
-rwxr-xr-xcontrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_auto-ipv6.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_auto-ipv6.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_auto-ipv6.sh
index 35ebc867d..5be4a3e61 100755
--- a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_auto-ipv6.sh
+++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_auto-ipv6.sh
@@ -2,7 +2,6 @@
. $dir/functions.sh
-echo $profile_ipv6_config
if [ "$profile_ipv6_config" = "auto-ipv6-fromv4" ]; then
mode="fromv4"
else
@@ -12,3 +11,7 @@ fi
uci set autoipv6.olsr_node.enabled=1
uci set autoipv6.olsr_node.mode="$mode"
uci_commitverbose "Setup auto-ipv6" autoipv6
+
+uci set network.wan.accept_ra=0
+uci_commitverbose "Do not accept ra's on wan when using auto-ipv6" network
+