projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: add suport for ZBT APE522II
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/ramips/base-files/lib/upgrade/platform.sh
b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index c71fc64917582ba51b8b6bd4cf62379cbc1b727c..e3bea004fa9f4684c2d256bbdea072a2d783ddbc 100755
(executable)
--- a/
target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ramips/base-files/lib/upgrade/platform.sh
@@
-155,6
+155,7
@@
platform_check_image() {
x8|\
y1|\
y1s|\
+ zbt-ape522ii|\
zbt-wa05|\
zbt-we826|\
zbt-wg2626|\
@@
-182,7
+183,8
@@
platform_check_image() {
}
return 0
;;
- c20i)
+ c20i|\
+ c50)
[ "$magic" != "03000000" ] && {
echo "Invalid image type."
return 1