diff options
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 12 insertions, 2 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" diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index ca339b354c..2ae8c9e8ff 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -307,6 +307,9 @@ ramips_board_detect() { *"Sercomm NA930") name="na930" ;; + *"Zbtlink ZBT-WA05") + name="zbt-wa05" + ;; *) name="generic" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index a39c433e8f..805a63fed4 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -91,7 +91,8 @@ platform_check_image() { wmr300 |\ wrtnode |\ x5 |\ - x8) + x8 |\ + zbt-wa05) [ "$magic" != "27051956" ] && { echo "Invalid image type." return 1 |