ar71xx: fix minor syntax error in /lib/upgrade/platform.sh

Fix a '==' that should be a '=' in a test condition. Busybox fortunately
doesn't care.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
Matthias Schiffer 2017-04-22 18:56:25 +02:00
parent 411c1b64f0
commit 96414cb407
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ tplink_pharos_check_image() {
# is accepted (loading the first 1.5M of a remote image for this check seems # is accepted (loading the first 1.5M of a remote image for this check seems
# a bit extreme) # a bit extreme)
dd if="$1" bs=1 skip=1511432 count=1024 2>/dev/null | while read line; do dd if="$1" bs=1 skip=1511432 count=1024 2>/dev/null | while read line; do
[ "$line" == "$model_string" ] && break [ "$line" = "$model_string" ] && break
done || { done || {
echo "Unsupported image (model not in support-list)" echo "Unsupported image (model not in support-list)"
return 1 return 1