1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-08-21 03:04:37 +03:00

[ar71xx] enable sysupgrade on the WRT160Nl

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17202 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2009-08-09 14:12:24 +00:00
parent f46a1cc756
commit 9dd617db72

View File

@ -21,13 +21,20 @@ platform_check_image() {
} }
return 0 return 0
;; ;;
tl-wr741nd | tl-wr941nd) tl-wr741nd | tl-wr941nd)
[ "$magic" != "0100" ] && { [ "$magic" != "0100" ] && {
echo "Invalid image type." echo "Invalid image type."
return 1 return 1
} }
return 0 return 0
;; ;;
wrt160nl)
[ "$magic" != "4e4c" ] && {
echo "Invalid image type."
return 1
}
return 0
;;
esac esac
echo "Sysupgrade is not yet supported on $board." echo "Sysupgrade is not yet supported on $board."