aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-08-06 12:31:10 +0000
committerJohn Crispin <john@openwrt.org>2013-08-06 12:31:10 +0000
commite993e0c2cfe07de5ffc9afd5be047751a5e6fabc (patch)
tree36954627fe044bbff0b27e27ce0b8c007819fd74 /target/linux/lantiq/base-files
parenteb844ad32107bbbe8c7087d5edb8cbf6cbbad109 (diff)
downloadupstream-e993e0c2cfe07de5ffc9afd5be047751a5e6fabc.tar.gz
upstream-e993e0c2cfe07de5ffc9afd5be047751a5e6fabc.tar.bz2
upstream-e993e0c2cfe07de5ffc9afd5be047751a5e6fabc.zip
lantiq: add tplink header id to sysupgrade and fix a comment
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37719
Diffstat (limited to 'target/linux/lantiq/base-files')
-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