Просмотр исходного кода

lantiq: add tplink header id to sysupgrade and fix a comment

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 37719
John Crispin 12 лет назад
Родитель
Сommit
e993e0c2cf
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      target/linux/lantiq/base-files/lib/upgrade/platform.sh

+ 3 - 1
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