diff options
author | John Crispin <blogic@openwrt.org> | 2014-07-10 22:02:28 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-07-10 22:02:28 +0000 |
commit | cba7db1e96c00ce087b960c7a869813e14d50bcd (patch) | |
tree | ea8fa0e9b378a86d12bf41eda02f6292d4de8c18 /target/linux/ramips/base-files/lib | |
parent | f97b4208d591f7488463958ee9100c66e270ef4f (diff) | |
download | upstream-cba7db1e96c00ce087b960c7a869813e14d50bcd.tar.gz upstream-cba7db1e96c00ce087b960c7a869813e14d50bcd.tar.bz2 upstream-cba7db1e96c00ce087b960c7a869813e14d50bcd.zip |
ramips: add support for Zbtlink WA05 router
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41579 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 3 |
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 |