Message ID | 20200805203959.53209-2-freifunk@adrianschmutzler.de |
---|---|
State | Accepted |
Headers | show |
diff --git a/src/packages/fff/fff-network/files/usr/sbin/configurenetwork b/src/packages/fff/fff-network/files/usr/sbin/configurenetwork index 5103f6b3..44487147 100755 --- a/src/packages/fff/fff-network/files/usr/sbin/configurenetwork +++ b/src/packages/fff/fff-network/files/usr/sbin/configurenetwork @@ -117,7 +117,7 @@ if [ "$ONE_PORT" = "YES" ] && ( ! uci -q get network.$SWITCHDEV.ifname || [ "$FO if [ "$ETHMODE" = "WAN" ]; then uci set network.mesh.ifname="bat0" uci set network.wan.ifname="$WANDEV" - uci del uci set network.ethmesh.ifname + uci del network.ethmesh.ifname uci del network.eth0.macaddr elif [ "$ETHMODE" = "CLIENT" ] ; then uci set network.mesh.ifname="bat0 $SWITCHDEV"
Reviewed-by: Fabian Bläse <fabian@blaese.de>
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> --- src/packages/fff/fff-network/files/usr/sbin/configurenetwork | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)