projects
/
openwrt
/
staging
/
yousong.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 AC-Pro
[openwrt/staging/yousong.git]
/
target
/
linux
/
ath79
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/ath79/base-files/etc/board.d/02_network
b/target/linux/ath79/base-files/etc/board.d/02_network
index e880abe5ac33ffd88efcfbe679a8c23ff2e2d9fc..3282d8ad901fa7adbbc13a5450947fed623efc43 100755
(executable)
--- a/
target/linux/ath79/base-files/etc/board.d/02_network
+++ b/
target/linux/ath79/base-files/etc/board.d/02_network
@@
-98,6
+98,10
@@
ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "3:lan:1" "5:lan:2" "4:wan"
;;
+ "ubnt,unifiac-pro")
+ ucidef_add_switch "switch0" \
+ "0@eth0" "2:lan" "3:wan"
+ ;;
*)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;