[PATCH 1/3] fff-network: fix broken statement in configurenetwork

Adrian Schmutzler freifunk at adrianschmutzler.de
Mi Aug 5 22:39:57 CEST 2020


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 at adrianschmutzler.de>
---
 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"
-- 
2.20.1



Mehr Informationen über die Mailingliste franken-dev