ramips: fix wsr-1166 sysupgrade support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43816
This commit is contained in:
parent
88e8f99f7f
commit
ca32b89cc0
1 changed files with 7 additions and 1 deletions
|
@ -91,7 +91,6 @@ platform_check_image() {
|
||||||
whr-600d |\
|
whr-600d |\
|
||||||
whr-1166d |\
|
whr-1166d |\
|
||||||
wsr-600 |\
|
wsr-600 |\
|
||||||
wsr-1166 |\
|
|
||||||
wl-330n | \
|
wl-330n | \
|
||||||
wl-330n3g | \
|
wl-330n3g | \
|
||||||
wl-351 | \
|
wl-351 | \
|
||||||
|
@ -116,6 +115,13 @@ platform_check_image() {
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
wsr-1166)
|
||||||
|
[ "$magic" != "48445230" ] && {
|
||||||
|
echo "Invalid image type."
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
ar670w)
|
ar670w)
|
||||||
[ "$magic" != "6d000080" ] && {
|
[ "$magic" != "6d000080" ] && {
|
||||||
echo "Invalid image type."
|
echo "Invalid image type."
|
||||||
|
|
Loading…
Reference in a new issue