summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-08-03 11:13:52 +0000
committerJohn Crispin <john@openwrt.org>2014-08-03 11:13:52 +0000
commit04e4ff282ad359485afe34deb658f36ffb34c16f (patch)
tree44531b4cdef2083cb397c53fe24ba3a0d1834766 /target/linux/ramips/base-files/lib/upgrade/platform.sh
parent44cb68c038ccef470e346c6fd9d0919a82fe68d9 (diff)
downloadmaster-31e0f0ae-04e4ff282ad359485afe34deb658f36ffb34c16f.tar.gz
master-31e0f0ae-04e4ff282ad359485afe34deb658f36ffb34c16f.tar.bz2
master-31e0f0ae-04e4ff282ad359485afe34deb658f36ffb34c16f.zip
ramips:support Lenovo AC1200 Wireless router
Lenovo AC1200 series has two types, Y1 and Y1S. Y1S has 256MB DDR2, Y1 only has 128MB and Y1 have no Giga Port. Signed-off-by: Lintel <lintel.huang@gmail.com> SVN-Revision: 41961
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index a39596d2bf..08b3745425 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -96,7 +96,9 @@ platform_check_image() {
wrtnode |\
x5 |\
x8 |\
- zbt-wa05)
+ zbt-wa05 |\
+ y1 |\
+ y1s)
[ "$magic" != "27051956" ] && {
echo "Invalid image type."
return 1