aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index b90a591ded..806c1a0e8c 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -16,8 +16,6 @@ platform_check_image() {
case "$board" in
3g150b|\
3g300m|\
- 3g-6200n|\
- 3g-6200nl|\
a5-v11|\
ai-br100|\
air3gii|\
@@ -178,15 +176,18 @@ platform_check_image() {
}
return 0
;;
- ar670w)
- [ "$magic" != "6d000080" ] && {
+ 3g-6200n|\
+ 3g-6200nl|\
+ br-6475nd)
+ [ "$magic" != "43535953" ] && {
echo "Invalid image type."
return 1
}
return 0
;;
- br-6475nd)
- [ "$magic" != "43535953" ] && {
+
+ ar670w)
+ [ "$magic" != "6d000080" ] && {
echo "Invalid image type."
return 1
}