From f1c014ea4bc24951cfa7fe783206876bfd6b5960 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 26 Feb 2021 20:27:04 +0100 Subject: [PATCH] fff-network: remove broken include for Ubiquiti UniFi AC Mesh In '/etc/network.ubnt,unifiac-mesh', we include a file that does not exist on ath79 anymore. This causes the script execution to abort and will have configurenetwork not run at all, making the device quite inaccessible. Remove the include as it never had any use anyway. Remove another unused include as well, and add the proper dependency instead. This fix was first proposed more than 2.5 years ago. Fixes: #130 (gitea) Signed-off-by: Adrian Schmutzler --- src/packages/fff/fff-network/Makefile | 2 +- src/packages/fff/fff-network/mips/network.ubnt,unifiac-mesh | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/packages/fff/fff-network/Makefile b/src/packages/fff/fff-network/Makefile index edf0a4c6..f11c4469 100644 --- a/src/packages/fff/fff-network/Makefile +++ b/src/packages/fff/fff-network/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=fff-network -PKG_RELEASE:=35 +PKG_RELEASE:=36 include $(INCLUDE_DIR)/package.mk diff --git a/src/packages/fff/fff-network/mips/network.ubnt,unifiac-mesh b/src/packages/fff/fff-network/mips/network.ubnt,unifiac-mesh index 15efcb00..2d14e939 100644 --- a/src/packages/fff/fff-network/mips/network.ubnt,unifiac-mesh +++ b/src/packages/fff/fff-network/mips/network.ubnt,unifiac-mesh @@ -6,8 +6,7 @@ BATMAN_PORTS="" ONE_PORT="YES" . /etc/network.mode +. /lib/functions.sh . /lib/functions/system.sh -. /lib/functions/uci-defaults.sh -. /lib/ar71xx.sh -ROUTERMAC=$(mtd_get_mac_binary EEPROM 0x0) \ No newline at end of file +ROUTERMAC=$(mtd_get_mac_binary EEPROM 0x0) -- 2.39.2