contrib/meshwizard: Fix variable for sharenet so policyrouting is setup correctly
This commit is contained in:
parent
16c26a5154
commit
89fb9f9084
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ fi
|
||||||
# Setup policyrouting if internet sharing is disabled and wan is not used for olsrd
|
# 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
|
# Always disable it first to make sure its disabled when the user decied to share his internet
|
||||||
uci set freifunk-policyrouting.pr.enable=0
|
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
|
$dir/helpers/setup_policyrouting.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue