aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq807x/base-files/etc
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2023-01-22 16:35:04 +0900
committerChristian Marangi <ansuelsmth@gmail.com>2023-02-12 01:18:39 +0100
commitd256c0bfd715d7b6bc687e9734e802eec475e477 (patch)
treea32894ffc48ab388a713e372ffdb9b0c46b096be /target/linux/ipq807x/base-files/etc
parentf5d962f9b3683669a79a57d1ee6a2dc4bcfb7f18 (diff)
downloadupstream-d256c0bfd715d7b6bc687e9734e802eec475e477.tar.gz
upstream-d256c0bfd715d7b6bc687e9734e802eec475e477.tar.bz2
upstream-d256c0bfd715d7b6bc687e9734e802eec475e477.zip
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@gmail.com> Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/ipq807x/base-files/etc')
-rw-r--r--target/linux/ipq807x/base-files/etc/board.d/02_network6
1 files 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"
;;