git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
16c26a5
)
contrib/meshwizard: Fix variable for sharenet so policyrouting is setup correctly
author
Manuel Munz
<redacted>
Wed, 2 Nov 2011 13:37:23 +0000
(13:37 +0000)
committer
Manuel Munz
<redacted>
Wed, 2 Nov 2011 13:37:23 +0000
(13:37 +0000)
contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh
patch
|
blob
|
history
diff --git
a/contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh
b/contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh
index 73eddc4dfa2809137417286a8800e1ac97491ac0..f58253bcccc5d5049a3f338d241378a28b8ed705 100755
(executable)
--- 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
git clone https://git.99rst.org/PROJECT