lantiq: add tplink header id to sysupgrade and fix a comment
[openwrt/openwrt.git] / target / linux / lantiq / base-files / lib / upgrade / platform.sh
index 247ba1a25c2ab6b7d3231a9ec7c3ad694f3766b7..d629a1212a117685932dde480549262171214db5 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