aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79')
-rwxr-xr-xtarget/linux/ath79/generic/base-files/etc/board.d/02_network7
1 files changed, 5 insertions, 2 deletions
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 cb84d31c01..9db21caad8 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
@@ -185,8 +185,6 @@ ath79_setup_interfaces()
;;
nec,wg1200cr|\
ubnt,nanostation-ac|\
- ubnt,unifiac-mesh-pro|\
- ubnt,unifiac-pro|\
yuncore,a782|\
yuncore,xd4200)
ucidef_add_switch "switch0" \
@@ -307,6 +305,11 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "5:lan" "1:wan"
;;
+ ubnt,unifiac-mesh-pro|\
+ ubnt,unifiac-pro)
+ ucidef_add_switch "switch0" \
+ "0@eth0" "2:lan:1" "3:lan:2"
+ ;;
zbtlink,zbt-wd323|\
xiaomi,mi-router-4q)
ucidef_set_interface_wan "eth1"