projects
/
openwrt
/
staging
/
dangole.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: add support for TP-Link RE350
[openwrt/staging/dangole.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 36469ca704cd177213b4cd2ac396f62ec2f9fedf..830e129115cb16d47a0f65d8c05d475b30440fa0 100755
(executable)
--- a/
target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ramips/base-files/lib/upgrade/platform.sh
@@
-253,6
+253,13
@@
platform_check_image() {
# these boards use metadata images
return 0
;;
+ re350-v1)
+ [ "$magic" != "01000000" ] && {
+ echo "Invalid image type."
+ return 1
+ }
+ return 0
+ ;;
ubnt-erx|\
ubnt-erx-sfp)
nand_do_platform_check "$board" "$1"