projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: PowerCloud CAP324 OpenWrt configuration
[openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/ar71xx/base-files/etc/board.d/02_network
b/target/linux/ar71xx/base-files/etc/board.d/02_network
index
296626b
..
7cb3d88
100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/
target/linux/ar71xx/base-files/etc/board.d/02_network
@@
-4,7
+4,7
@@
#
. /lib/functions/system.sh
#
. /lib/functions/system.sh
-. /lib/functions/uci-defaults
-new
.sh
+. /lib/functions/uci-defaults.sh
. /lib/ar71xx.sh
board_config_update
. /lib/ar71xx.sh
board_config_update
@@
-15,6
+15,7
@@
board=$(ar71xx_board_name)
case "$board" in
all0315n |\
all0258n |\
case "$board" in
all0315n |\
all0258n |\
+dr344 |\
ja76pf2|\
rocket-m-ti |\
ubnt-unifi-outdoor)
ja76pf2|\
rocket-m-ti |\
ubnt-unifi-outdoor)
@@
-42,6
+43,7
@@
ap147-010)
ap136-020 |\
ap135-020 |\
ap136-020 |\
ap135-020 |\
+tew-823dru |\
tl-wr1043nd-v2 |\
wzr-450hp2)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
tl-wr1043nd-v2 |\
wzr-450hp2)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
@@
-187,7
+189,7
@@
el-m150)
tl-wdr4300|\
tl-wr1041n-v2)
ucidef_add_switch "switch0" \
tl-wdr4300|\
tl-wr1041n-v2)
ucidef_add_switch "switch0" \
- "0@eth0" "1:
lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan
"
+ "0@eth0" "1:
wan" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4
"
;;
tl-wr1043nd)
;;
tl-wr1043nd)
@@
-312,6
+314,7
@@
eap7660d |\
el-mini |\
loco-m-xw |\
mr1750 |\
el-mini |\
loco-m-xw |\
mr1750 |\
+mr18 |\
mr600 |\
mr600v2 |\
mr900 |\
mr600 |\
mr600v2 |\
mr900 |\
@@
-349,6
+352,10
@@
wp543)
ucidef_set_interface_lan "eth0"
;;
ucidef_set_interface_lan "eth0"
;;
+cap324)
+ ucidef_set_interface_lan "eth0" "dhcp"
+ ;;
+
arduino-yun | \
dir-505-a1)
ucidef_set_interface_lan "eth1"
arduino-yun | \
dir-505-a1)
ucidef_set_interface_lan "eth1"