ramips: Add support for the GnuBee Personal Cloud Two
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / diag.sh
index e7b49a5039d637c4f2be64c58c2b27edcd354bb0..e38311d5e5fc4785b5039cf23e58ea30dd70cae1 100644 (file)
@@ -25,6 +25,7 @@ get_status_led() {
        ex2700|\
        ex3700|\
        fonera20n|\
+       firewrt|\
        hg255d|\
        kn|\
        kn_rc|\
@@ -37,6 +38,9 @@ get_status_led() {
        nbg-419n2|\
        pwh2004|\
        r6220|\
+       tplink,c20-v4|\
+       tplink,c50-v3|\
+       tplink,tl-mr3420-v5|\
        tl-wr840n-v4|\
        tl-wr840n-v5|\
        tl-wr841n-v13|\
@@ -67,6 +71,13 @@ get_status_led() {
        ht-tm02)
                status_led="$boardname:blue:wlan"
                ;;
+       alfa-network,ac1200rm|\
+       awapn2403|\
+       dir-645|\
+       sk-wb8|\
+       wrh-300cr)
+               status_led="$boardname:green:wps"
+               ;;
        all0239-3g|\
        dcs-930|\
        dir-300-b1|\
@@ -80,6 +91,7 @@ get_status_led() {
        dir-620-d1|\
        dwr-512-b|\
        gb-pc1|\
+       gb-pc2|\
        hpm|\
        hw550-3g|\
        mac1200rv2|\
@@ -100,12 +112,6 @@ get_status_led() {
        ip2202)
                status_led="$boardname:green:run"
                ;;
-       awapn2403|\
-       dir-645|\
-       sk-wb8|\
-       wrh-300cr)
-               status_led="$boardname:green:wps"
-               ;;
        c108)
                status_led="$boardname:green:lan"
                ;;
@@ -121,7 +127,6 @@ get_status_led() {
        w502u)
                status_led="$boardname:blue:wps"
                ;;
-       c20|\
        d240|\
        dap-1350|\
        na930|\
@@ -133,6 +138,7 @@ get_status_led() {
        rt-n14u|\
        rt-n15|\
        rt-n56u|\
+       tplink,c20-v1|\
        wl-330n|\
        wl-330n3g|\
        wli-tx4-ag300n|\
@@ -170,11 +176,12 @@ get_status_led() {
                ;;
        k2p|\
        m3|\
+       mir3g|\
        miwifi-nano)
                status_led="$boardname:blue:status"
                ;;
        linkits7688)
-               [ "$1" = "upgrade" ] && status_led="mediatek:orange:wifi"
+               status_led="linkit-smart-7688:orange:wifi"
                ;;
        m2m)
                status_led="$boardname:blue:wifi"
@@ -186,9 +193,6 @@ get_status_led() {
        m4-8M)
                status_led="m4:blue:status"
                ;;
-       mir3g)
-               status_led="$boardname:yellow:status"
-               ;;
        miwifi-mini|\
        zte-q7)
                status_led="$boardname:red:status"
@@ -222,8 +226,7 @@ get_status_led() {
                ;;
        re6500|\
        whr-1166d|\
-       whr-600d|\
-       widora-neo)
+       whr-600d)
                status_led="$boardname:orange:wifi"
                ;;
        mzk-ex300np|\
@@ -284,6 +287,10 @@ get_status_led() {
        zbt-we2026)
                status_led="$boardname:red:power"
                ;;
+       widora,neo-16m|\
+       widora,neo-32m)
+               status_led="widora:orange:wifi"
+               ;;
        wzr-agl300nh)
                status_led="$boardname:green:router"
                ;;
@@ -310,6 +317,9 @@ get_status_led() {
        zbt-we826-32M)
                status_led="zbt-we826:green:power"
                ;;
+       zbtlink,zbt-we1226)
+               status_led="$boardname:green:wlan"
+               ;;
        zbt-wg3526-16M|\
        zbt-wg3526-32M)
                status_led="zbt-wg3526:green:status"