[openwrt/openwrt] ipq807x: merge duplicate network configurations in 02_network
LEDE Commits
lede-commits at lists.infradead.org
Mon Feb 13 06:31:23 PST 2023
ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d256c0bfd715d7b6bc687e9734e802eec475e477
commit d256c0bfd715d7b6bc687e9734e802eec475e477
Author: INAGAKI Hiroshi <musashino.open at gmail.com>
AuthorDate: Sun Jan 22 16:35:04 2023 +0900
ipq807x: merge duplicate network configurations in 02_network
Merge network configurations in 02_network of Dynalink DL-WRX36 and
Xiaomi AX9000.
Reviewed-by: Robert Marko <robimarko at gmail.com>
Signed-off-by: INAGAKI Hiroshi <musashino.open at gmail.com>
---
target/linux/ipq807x/base-files/etc/board.d/02_network | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/target/linux/ipq807x/base-files/etc/board.d/02_network b/target/linux/ipq807x/base-files/etc/board.d/02_network
index de237e8541..a8d9d5d6cf 100644
--- a/target/linux/ipq807x/base-files/etc/board.d/02_network
+++ b/target/linux/ipq807x/base-files/etc/board.d/02_network
@@ -11,7 +11,8 @@ ipq807x_setup_interfaces()
local board="$1"
case "$board" in
- dynalink,dl-wrx36)
+ dynalink,dl-wrx36|\
+ xiaomi,ax9000)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
;;
edgecore,eap102)
@@ -27,9 +28,6 @@ ipq807x_setup_interfaces()
xiaomi,ax3600)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan"
;;
- xiaomi,ax9000)
- ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
- ;;
zyxel,nbg7815)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 10g" "wan"
;;
More information about the lede-commits
mailing list