ar71xx: add rb750 to diag.sh
[openwrt.git] / target / linux / ar71xx / base-files / etc / diag.sh
index 3d57854..c6f2cf7 100755 (executable)
@@ -67,8 +67,9 @@ get_status_led() {
        hornet-ub)
                status_led="alfa:blue:wps"
                ;;
-       ja76pf)
-               status_led="ja76pf:green:led1"
+       ja76pf | \
+       ja76pf2)
+               status_led="jjplus:green:led1"
                ;;
        ls-sr71)
                status_led="ubnt:green:d22"
@@ -89,6 +90,9 @@ get_status_led() {
        rb-411 | rb-411u | rb-433 | rb-433u | rb-450 | rb-450g | rb-493)
                status_led="rb4xx:yellow:user"
                ;;
+       rb-750)
+               status_led="rb750:green:act"
+               ;;
        routerstation | routerstation-pro)
                status_led="ubnt:green:rf"
                ;;
@@ -161,6 +165,8 @@ set_state() {
        case "$1" in
        preinit)
                insmod leds-gpio
+               insmod ledtrig-default-on
+               insmod ledtrig-timer
                status_led_set_timer 200 200
                ;;
        failsafe)
This page took 0.044503 seconds and 4 git commands to generate.