aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-10 22:02:28 +0000
committerJohn Crispin <john@openwrt.org>2014-07-10 22:02:28 +0000
commit03faf4618e65079268a7372a13669d5e10869c88 (patch)
tree746bde3f366ce5dc62a4de036d20c9af09971edb /target/linux/ramips/base-files/etc
parentf88fde968988a30b93dcba7f0e1aca171cd61da2 (diff)
downloadupstream-03faf4618e65079268a7372a13669d5e10869c88.tar.gz
upstream-03faf4618e65079268a7372a13669d5e10869c88.tar.bz2
upstream-03faf4618e65079268a7372a13669d5e10869c88.zip
ramips: add support for Zbtlink WA05 router
Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 41579
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds5
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network3
2 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index c2f768b8a3..00b604008e 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -181,6 +181,11 @@ case $board in
ucidef_set_led_default "power" "power" "buffalo:green:power" "1"
ucidef_set_led_default "router" "router" "buffalo:green:router" "1"
;;
+ zbt-wa05)
+ ucidef_set_led_default "power" "power" "zbtlink:blue:power" "1"
+ set_wifi_led "zbtlink:blue:air"
+ set_usb_led "zbtlink:blue:usb"
+ ;;
esac
ucidef_commit_leds
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index 4eef735d93..a14acb6252 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -112,7 +112,8 @@ ramips_setup_interfaces()
hg255d | \
rt-n14u | \
wrtnode | \
- ur-326n4g)
+ ur-326n4g | \
+ zbt-wa05)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t"