ramips: sort boards in upgrade/platform.sh alphabetically
authorJohn Crispin <john@openwrt.org>
Mon, 20 Oct 2014 06:28:39 +0000 (06:28 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 20 Oct 2014 06:28:39 +0000 (06:28 +0000)
SVN-Revision: 42982

target/linux/ramips/base-files/lib/upgrade/platform.sh

index 52f3f0a3ee9c0510c614e1d9eb6ea11e54d7ba67..61a0935d7ece49f6f44ec119ba835bafa1fd556f 100755 (executable)
@@ -17,7 +17,6 @@ platform_check_image() {
        3g-6200n | \
        3g-6200nl | \
        3g300m | \
-       w150m | \
        air3gii | \
        all0239-3g | \
        all0256n | \
@@ -25,34 +24,33 @@ platform_check_image() {
        all5003 | \
        ar725w | \
        asl26555 | \
+       awapn2403 | \
        awm002-evb | \
        awm003-evb | \
-       awapn2403 | \
        bc2 | \
        broadway | \
        carambola | \
        d105 | \
+       dap-1350 | \
        dcs-930 | \
        dir-300-b1 | \
        dir-300-b7 | \
        dir-320-b1 | \
        dir-600-b1 | \
        dir-600-b2 | \
-       dir-615-h1 | \
        dir-615-d | \
+       dir-615-h1 | \
        dir-620-a1 | \
        dir-620-d1 | \
        dir-810l | \
-       dap-1350 | \
        esr-9753 | \
        f7c027 | \
        fonera20n | \
-       rt-n13u | \
        freestation5 | \
-       hw550-3g | \
        hg255d | \
        hlk-rm04 | \
        ht-tm02 | \
+       hw550-3g | \
        ip2202 | \
        m3 | \
        m4 | \
@@ -71,6 +69,7 @@ platform_check_image() {
        rp-n53 | \
        rt-g32-b1 | \
        rt-n10-plus | \
+       rt-n13u | \
        rt-n14u | \
        rt-n15 | \
        rt-n56u | \
@@ -78,30 +77,31 @@ platform_check_image() {
        sl-r7205 | \
        tew-691gr | \
        tew-692gr | \
-       w306r-v20 |\
-       w502u |\
-       wr6202 |\
+       ur-326n4g |\
+       ur-336un |\
        v22rw-2x2 | \
        vocore | \
-       wl341v3 | \
+       w150m | \
+       w306r-v20 |\
+       w502u |\
+       whr-g300n |\
        wl-330n | \
        wl-330n3g | \
        wl-351 | \
-       wnce2001 | \
+       wl341v3 | \
        wli-tx4-ag300n | \
-       whr-g300n |\
-       wt1520 |\
-       ur-326n4g |\
-       ur-336un |\
-       wr512-3gn |\
        wmr300 |\
+       wnce2001 | \
+       wr512-3gn |\
+       wr6202 |\
        wr8305rt |\
        wrtnode |\
+       wt1520 |\
        x5 |\
        x8 |\
-       zbt-wa05 |\
        y1 |\
-       y1s)
+       y1s |\
+       zbt-wa05)
                [ "$magic" != "27051956" ] && {
                        echo "Invalid image type."
                        return 1