Files
wlan-ap/patches/0034-ath79-various-fixes.patch
John Crispin 1e7efc68a8 config.yml: update 21.02 baseline from RC2->GA
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-04 08:14:58 +02:00

39 lines
1.2 KiB
Diff

From 83b7e4074c238cb64f727cde16cdfcc530aaa329 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Sat, 8 May 2021 11:30:32 +0200
Subject: [PATCH 34/43] ath79: various fixes
* free up additional 1MB rootfs space
* make the target use bridge-vlan
* use the single eth port as wan
Signed-off-by: John Crispin <john@phrozen.org>
---
target/linux/ath79/generic/base-files/etc/board.d/02_network | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index d70432ad2b..b0b152ba74 100755
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -95,7 +95,7 @@ ath79_setup_interfaces()
ubnt,unifi|\
wd,mynet-wifi-rangeextender|\
winchannel,wb2000)
- ucidef_set_interface_lan "eth0"
+ ucidef_set_interface_wan "eth0"
;;
airtight,c-75)
ucidef_add_switch "switch0" \
@@ -675,6 +675,7 @@ ath79_setup_macs()
board_config_update
board=$(board_name)
+ucidef_set_bridge_device bridge
ath79_setup_interfaces $board
ath79_setup_macs $board
board_config_flush
--
2.25.1