From: INAGAKI Hiroshi Date: Sun, 22 Jan 2023 07:35:04 +0000 (+0900) Subject: ipq807x: merge duplicate network configurations in 02_network X-Git-Tag: v23.05.0-rc1~1008 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d256c0bfd715d7b6bc687e9734e802eec475e477;p=openwrt%2Fstaging%2Fhauke.git 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 Signed-off-by: INAGAKI Hiroshi --- 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" ;;