From 30c3b4612737deacf3244b2a3e9c7b913757b7a1 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 5 Aug 2020 22:39:57 +0200 Subject: [PATCH] fff-network: fix broken statement in configurenetwork MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Fabian Bläse --- src/packages/fff/fff-network/files/usr/sbin/configurenetwork | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/fff/fff-network/files/usr/sbin/configurenetwork b/src/packages/fff/fff-network/files/usr/sbin/configurenetwork index 5103f6b..4448714 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"