mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-18 16:40:29 +00:00
lantiq: add tplink header id to sysupgrade and fix a comment
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37719
This commit is contained in:
parent
eb844ad321
commit
e993e0c2cf
@ -4,8 +4,10 @@ platform_check_image() {
|
|||||||
[ "$ARGC" -gt 1 ] && return 1
|
[ "$ARGC" -gt 1 ] && return 1
|
||||||
|
|
||||||
case "$(get_magic_word "$1")" in
|
case "$(get_magic_word "$1")" in
|
||||||
# .trx files
|
# uImage
|
||||||
2705) return 0;;
|
2705) return 0;;
|
||||||
|
# tplink
|
||||||
|
0200) return 0;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid image type"
|
echo "Invalid image type"
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user