From patchwork Wed Aug 5 20:39:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [1/3] fff-network: fix broken statement in configurenetwork From: Adrian Schmutzler X-Patchwork-Id: 1421 Message-Id: <20200805203959.53209-2-freifunk@adrianschmutzler.de> To: franken-dev@freifunk.net Date: Wed, 5 Aug 2020 22:39:57 +0200 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 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"