diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2017-07-05 09:07:43 +0200 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2017-07-09 23:43:46 +0200 |
commit | 42c8bbb69b8563896422180b379a4642419e5dfc (patch) | |
tree | fde3ad5fd0b008a61dc8c70dc8eadabbe4eb11e9 /target | |
parent | 8cd28140f112d05309048a3c6b3beb9c34a0badf (diff) | |
download | upstream-42c8bbb69b8563896422180b379a4642419e5dfc.tar.gz upstream-42c8bbb69b8563896422180b379a4642419e5dfc.tar.bz2 upstream-42c8bbb69b8563896422180b379a4642419e5dfc.zip |
ar71xx: verify TP-Link TL-WR902AC sysupgrade image
Until we enable requirement for metadata in sysupgrade images under
ar71xx target, this prevents users from using wrong image.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 88e8e92a0d..bb0d9d5ea9 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -447,6 +447,7 @@ platform_check_image() { tl-wr841n-v9|\ tl-wr842n-v2|\ tl-wr842n-v3|\ + tl-wr902ac-v1|\ tl-wr941nd-v5|\ tl-wr941nd-v6|\ tl-wr940n-v4|\ @@ -657,8 +658,7 @@ platform_check_image() { rb-952ui-5ac2nd|\ rb-962uigs-5hact2hnt|\ rb-lhg-5nd|\ - rb-mapl-2nd|\ - tl-wr902ac-v1) + rb-mapl-2nd) return 0 ;; esac |