lantiq: add tplink header id to sysupgrade and fix a comment
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 6 Aug 2013 12:31:10 +0000 (12:31 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 6 Aug 2013 12:31:10 +0000 (12:31 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37719 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/lantiq/base-files/lib/upgrade/platform.sh

index 247ba1a..d629a12 100755 (executable)
@@ -4,8 +4,10 @@ platform_check_image() {
        [ "$ARGC" -gt 1 ] && return 1
 
        case "$(get_magic_word "$1")" in
-               # .trx files
+               # uImage
                2705) return 0;;
+               # tplink
+               0200) return 0;;
                *)
                        echo "Invalid image type"
                        return 1