1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 20:27:42 +02:00

[backfire] merge r21833

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21834 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-06-18 07:58:32 +00:00
parent ba90215530
commit 413e54ee96

View File

@ -9,13 +9,21 @@ platform_check_image() {
case "${hardware}" in case "${hardware}" in
# hardware with padded uImage + padded rootfs # hardware with padded uImage + padded rootfs
'Netgear WNR854T' | 'Linksys WRT350N v2') 'Linksys WRT350N v2')
[ "${magic}" != '2705' ] && { [ "${magic}" != '2705' ] && {
echo "Invalid image type ${magic}." echo "Invalid image type ${magic}."
return 1 return 1
} }
return 0 return 0
;; ;;
# Netgear WNR854T has extra header before uImage
'Netgear WNR854T')
[ "${magic}" != '8519' ] && {
echo "Invalid image type ${magic}."
return 1
}
return 0
;;
esac esac
echo "Sysupgrade is not yet supported on ${hardware}." echo "Sysupgrade is not yet supported on ${hardware}."