ramips: reorder the sysupgrade script

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46660
v19.07.3_mercusys_ac12_duma
John Crispin 9 years ago
parent aa4c6e27b4
commit eba4a143c6

@ -134,39 +134,39 @@ platform_check_image() {
} }
return 0 return 0
;; ;;
wsr-1166) ar670w)
[ "$magic" != "48445230" ] && { [ "$magic" != "6d000080" ] && {
echo "Invalid image type." echo "Invalid image type."
return 1 return 1
} }
return 0 return 0
;; ;;
ar670w) br-6475nd)
[ "$magic" != "6d000080" ] && { [ "$magic" != "43535953" ] && {
echo "Invalid image type." echo "Invalid image type."
return 1 return 1
} }
return 0 return 0
;; ;;
cy-swr1100|\ c20i)
dir-610-a1|\ [ "$magic" != "03000000" ] && {
dir-645|\
dir-860l-b1)
[ "$magic" != "5ea3a417" ] && {
echo "Invalid image type." echo "Invalid image type."
return 1 return 1
} }
return 0 return 0
;; ;;
br-6475nd) cy-swr1100|\
[ "$magic" != "43535953" ] && { dir-610-a1|\
dir-645|\
dir-860l-b1)
[ "$magic" != "5ea3a417" ] && {
echo "Invalid image type." echo "Invalid image type."
return 1 return 1
} }
return 0 return 0
;; ;;
c20i) wsr-1166)
[ "$magic" != "03000000" ] && { [ "$magic" != "48445230" ] && {
echo "Invalid image type." echo "Invalid image type."
return 1 return 1
} }

Loading…
Cancel
Save