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 18:58:44 +0200 |
commit | 96414cb4072050ffc45c9907a2bfa1e40f088293 (patch) | |
tree | cf14911bf6946105a52777de0e6859221c322bcd /target/linux/ar71xx | |
parent | 411c1b64f0b8929ba80b026b9b5c2995c5478249 (diff) | |
download | mtk-20170518-96414cb4072050ffc45c9907a2bfa1e40f088293.zip mtk-20170518-96414cb4072050ffc45c9907a2bfa1e40f088293.tar.gz mtk-20170518-96414cb4072050ffc45c9907a2bfa1e40f088293.tar.bz2 |
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>
Diffstat (limited to 'target/linux/ar71xx')
-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 27b0f8a..5be678e 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 |