aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
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/lib
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/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh3
2 files changed, 5 insertions, 1 deletions
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