ar71xx: fix sysupgrade for wnr2200
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48005
This commit is contained in:
parent
c75c8ab6a6
commit
5359183b7e
1 changed files with 8 additions and 1 deletions
|
@ -479,13 +479,20 @@ platform_check_image() {
|
|||
fi
|
||||
return 0
|
||||
;;
|
||||
wnr2000-v4)
|
||||
wnr2000-v4)
|
||||
[ "$magic_long" != "32303034" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
wnr2200)
|
||||
[ "$magic_long" != "32323030" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in a new issue