ar71xx: add support for YunCore CPE830
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / diag.sh
index e1e76a44f6f7e075abf8f1664239ee9ac08d7e67..b18a096b59f1ae50f7d54096ba4c9f2d8ca8651a 100644 (file)
@@ -47,6 +47,12 @@ get_status_led() {
        tl-wpa8630)
                status_led="$board:green:power"
                ;;
+       ap90q|\
+       cpe830|\
+       cpe870|\
+       gl-inet)
+               status_led="$board:green:lan"
+               ;;
        ap96)
                status_led="$board:green:led2"
                ;;
@@ -94,6 +100,10 @@ get_status_led() {
        cf-e320n-v2)
                status_led="$board:blue:wlan"
                ;;
+       cf-e380ac-v1|\
+       cf-e380ac-v2)
+               status_led="$board:blue:wlan2g"
+               ;;
        cpe510)
                status_led="tp-link:green:link4"
                ;;
@@ -164,9 +174,6 @@ get_status_led() {
        f9k1115v2)
                status_led="belkin:blue:status"
                ;;
-       gl-inet)
-               status_led="$board:green:lan"
-               ;;
        epg5000|\
        esr1750)
                status_led="$board:amber:power"