diff options
| author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-04-22 18:56:25 +0200 |
|---|---|---|
| committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-04-22 19:01:28 +0200 |
| commit | 1d1935b242e2a2e5d34b2342b90eb772857e90bb (patch) | |
| tree | 04f49a1d17f6e46a5c52d7b474da4cf86e30908e | |
| parent | 9117ef8d6ae3bf4ae27a858bf9e2c2abc4434a04 (diff) | |
| download | upstream-1d1935b242e2a2e5d34b2342b90eb772857e90bb.tar.gz upstream-1d1935b242e2a2e5d34b2342b90eb772857e90bb.tar.bz2 upstream-1d1935b242e2a2e5d34b2342b90eb772857e90bb.zip | |
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>
| -rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 4f479ce8585..580e09a46f0 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -111,7 +111,7 @@ tplink_pharos_check_image() { # is accepted (loading the first 1.5M of a remote image for this check seems # a bit extreme) 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 || { echo "Unsupported image (model not in support-list)" return 1 |
