projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath79: add support for Ubiquiti UniFi AP Pro
[openwrt/openwrt.git]
/
target
/
linux
/
ath79
/
generic
/
base-files
/
etc
/
board.d
/
02_network
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 40ea14fa9bc903325de5bd2702922d7243128c5b..518ca6f91a413a9fda90b69f9505e15a6707c0fa 100755
(executable)
--- a/
target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/
target/linux/ath79/generic/base-files/etc/board.d/02_network
@@
-371,6
+371,10
@@
ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "2:lan:1" "3:lan:2"
;;
+ ubnt,unifi-ap-pro)
+ ucidef_add_switch "switch0" \
+ "0@eth0" "1:lan" "2:lan"
+ ;;
zbtlink,zbt-wd323|\
xiaomi,mi-router-4q)
ucidef_set_interface_wan "eth1"