ramips: add Poray M3 support
[openwrt.git] / target / linux / ramips / base-files / etc / diag.sh
index a82e1ce..a68538b 100755 (executable)
@@ -15,6 +15,9 @@ get_status_led() {
        argus-atp52b)
                status_led="argus-atp52b:green:run"
                ;;
+       asl26555)
+               status_led="asl26555:green:power"
+               ;;
        br6524n)
                status_led="edimax:blue:power"
                ;;
@@ -49,9 +52,18 @@ get_status_led() {
        hw550-3g)
                status_led="hw550-3g:green:status"
                ;;
+       m3)
+               status_led="m3:blue:status"
+               ;;
        mofi3500-3gn)
                status_led="mofi3500-3gn:green:status"
                ;;
+       mpr-a1)
+               status_led="mpr-a1:red:power"
+               ;;
+       mpr-a2)
+               status_led="mpr-a2:red:power"
+               ;;
        nbg-419n)
                status_led="nbg-419n:green:power"
                ;;
@@ -126,6 +138,9 @@ get_status_led() {
        xdxrn502j)
                status_led="xdxrn502j:green:power"
                ;;
+       f7c027)
+               status_led="belkin:orange:status"
+        ;;
        esac
 }
 
@@ -134,7 +149,6 @@ set_state() {
 
        case "$1" in
        preinit)
-               insmod leds-gpio 2> /dev/null
                status_led_blink_preinit
                ;;
        failsafe)