ar71xx: fix minor syntax error in /lib/upgrade/platform.sh
[openwrt/staging/noltari.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 38a78830a07f074ba1c4094084c40cdec8587c8f..5be678ea3654fe201ae352d7e7e9cede04dca6a2 100755 (executable)
@@ -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
@@ -217,6 +217,7 @@ platform_check_image() {
        cf-e380ac-v2|\
        cf-e520n|\
        cf-e530n|\
+       cpe505n|\
        cpe830|\
        cpe870|\
        dgl-5500-a1|\
@@ -256,6 +257,7 @@ platform_check_image() {
        nanostation-m|\
        nbg460n_550n_550nh|\
        pqi-air-pen|\
+       r602n|\
        rocket-m-ti|\
        rocket-m-xw|\
        rocket-m|\
@@ -281,6 +283,7 @@ platform_check_image() {
        wpj342|\
        wpj344|\
        wpj531|\
+       wpj563|\
        wrt400n|\
        wrtnode2q|\
        wzr-450hp2|\
@@ -505,6 +508,7 @@ platform_check_image() {
        rb-951g-2hnd|\
        rb-951ui-2hnd|\
        rb-2011l|\
+       rb-2011il|\
        rb-2011uas|\
        rb-2011uias|\
        rb-2011uas-2hnd|\
@@ -679,6 +683,7 @@ platform_pre_upgrade() {
        rb-912uag-5hpnd|\
        rb-951g-2hnd|\
        rb-951ui-2hnd|\
+       rb-2011il|\
        rb-2011l|\
        rb-2011uas|\
        rb-2011uias|\