From 89fb9f90842941e36355cb4aa32bbef100756df7 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Wed, 2 Nov 2011 13:37:23 +0000 Subject: [PATCH] contrib/meshwizard: Fix variable for sharenet so policyrouting is setup correctly --- contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh index 73eddc4df..f58253bcc 100755 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh @@ -70,7 +70,7 @@ fi # Setup policyrouting if internet sharing is disabled and wan is not used for olsrd # Always disable it first to make sure its disabled when the user decied to share his internet uci set freifunk-policyrouting.pr.enable=0 -if [ ! "$sharenet" == 1 ] && [ ! "$(uci -q get meshwizard.netconfig.wan_proto)" == "olsr" ]; then +if [ ! "$general_sharenet" == 1 ] && [ ! "$(uci -q get meshwizard.netconfig.wan_proto)" == "olsr" ]; then $dir/helpers/setup_policyrouting.sh fi -- 2.11.0