aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-08-06 12:31:10 +0000
committerJohn Crispin <blogic@openwrt.org>2013-08-06 12:31:10 +0000
commit997be902b28b2d783af6b1d172d19f3d36938161 (patch)
treef565ce117af19fd9a1246a4d8a71c39dc26cfc50 /target/linux/lantiq
parentd54d2af57ddd3674b7c75d10c3c792e28713d855 (diff)
downloadmaster-187ad058-997be902b28b2d783af6b1d172d19f3d36938161.tar.gz
master-187ad058-997be902b28b2d783af6b1d172d19f3d36938161.tar.bz2
master-187ad058-997be902b28b2d783af6b1d172d19f3d36938161.zip
lantiq: add tplink header id to sysupgrade and fix a comment
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37719 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq')
-rwxr-xr-xtarget/linux/lantiq/base-files/lib/upgrade/platform.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/lib/upgrade/platform.sh b/target/linux/lantiq/base-files/lib/upgrade/platform.sh
index 247ba1a25c..d629a1212a 100755
--- a/target/linux/lantiq/base-files/lib/upgrade/platform.sh
+++ b/target/linux/lantiq/base-files/lib/upgrade/platform.sh
@@ -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