ramips: add button support and make LEDs known to userspace for DIR-860L B1
[openwrt/staging/chunkeey.git] / target / linux / ramips / base-files / etc / diag.sh
index 2988cd9ff510917a72c51e67e0beb5cc0336c1a6..e9d623d106733af5844881b5e5b9697248780357 100644 (file)
@@ -19,6 +19,7 @@ get_status_led() {
        asl26555|\
        br-6425|\
        br-6475nd|\
+       dir-860l-b1|\
        e1700|\
        fonera20n|\
        mzk-750dhp|\
@@ -83,6 +84,9 @@ get_status_led() {
        wrh-300cr)
                status_led="$board:green:wps"
                ;;
+       c50)
+               status_led="tp-link:blue:power"
+               ;;
        cf-wr800n|\
        psg1208)
                status_led="$board:white:wps"
@@ -156,7 +160,8 @@ get_status_led() {
        re6500|\
        whr-1166d|\
        whr-300hp2|\
-       whr-600d)
+       whr-600d|\
+       widora-neo)
                status_led="$board:orange:wifi"
                ;;
        mzk-ex300np|\