forked from freifunk-franken/firmware
fff-network: fix broken statement in configurenetwork
This seems to be a copy/paste error, what we want here is to delete the entry from ethmesh, as we use WAN. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
parent
cbf22d8eca
commit
30c3b46127
|
@ -117,7 +117,7 @@ if [ "$ONE_PORT" = "YES" ] && ( ! uci -q get network.$SWITCHDEV.ifname || [ "$FO
|
||||||
if [ "$ETHMODE" = "WAN" ]; then
|
if [ "$ETHMODE" = "WAN" ]; then
|
||||||
uci set network.mesh.ifname="bat0"
|
uci set network.mesh.ifname="bat0"
|
||||||
uci set network.wan.ifname="$WANDEV"
|
uci set network.wan.ifname="$WANDEV"
|
||||||
uci del uci set network.ethmesh.ifname
|
uci del network.ethmesh.ifname
|
||||||
uci del network.eth0.macaddr
|
uci del network.eth0.macaddr
|
||||||
elif [ "$ETHMODE" = "CLIENT" ] ; then
|
elif [ "$ETHMODE" = "CLIENT" ] ; then
|
||||||
uci set network.mesh.ifname="bat0 $SWITCHDEV"
|
uci set network.mesh.ifname="bat0 $SWITCHDEV"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user