X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Fetc%2Fdiag.sh;h=3e8a33186f6fe2d644500f205352a8acb7230781;hb=9f14006809f6122d68e22394d147e6fe4a47e676;hp=a4911b023cbaa8ce66fd608babdd794103450008;hpb=0f155a330ebb3a0b06a08b1b9a5b3b14d127d557;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index a4911b023c..3e8a33186f 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -62,7 +62,8 @@ get_status_led() { rut5xx|\ v11st-fe|\ vocore|\ - wmr-300) + wmr-300|\ + zbt-wg2626) status_led="$board:green:status" ;; atp-52b|\ @@ -82,6 +83,7 @@ get_status_led() { ;; dap-1350|\ na930|\ + pbr-m1|\ rt-n13u|\ rt-n14u|\ rt-n15|\ @@ -94,6 +96,7 @@ get_status_led() { y1s) status_led="$board:blue:power" ;; + db-wrt01|\ esr-9753) status_led="$board:orange:power" ;; @@ -103,6 +106,15 @@ get_status_led() { f7c027) status_led="$board:orange:status" ;; + hc5*61|\ + mlw221|\ + mlwg2) + status_led="$board:blue:system" + ;; + linkits7688| \ + linkits7688d) + [ "$1" = "upgrade" ] && status_led="mediatek:orange:wifi" + ;; m2m) status_led="$board:blue:wifi" ;; @@ -114,10 +126,6 @@ get_status_led() { zte-q7) status_led="$board:red:status" ;; - mlw221|\ - mlwg2) - status_led="$board:blue:system" - ;; mr-102n) status_led="$board:amber:status" ;; @@ -128,11 +136,6 @@ get_status_led() { sl-r7205) status_led="$board:green:wifi" ;; - pbr-m1|\ - w306r-v20|\ - zbt-wr8305rt) - status_led="$board:green:sys" - ;; psr-680w) status_led="$board:red:wan" ;; @@ -148,6 +151,7 @@ get_status_led() { tew-692gr|\ ur-326n4g|\ ur-336un|\ + wf-2881|\ wr512-3gn) status_led="$board:green:wps" ;; @@ -157,6 +161,11 @@ get_status_led() { v22rw-2x2) status_led="$board:green:security" ;; + w306r-v20|\ + witi|\ + zbt-wr8305rt) + status_led="$board:green:sys" + ;; wcr-150gn|\ wl-351) status_led="$board:amber:power" @@ -165,6 +174,9 @@ get_status_led() { wzr-agl300nh) status_led="$board:green:router" ;; + wizfi630a) + status_led="$board::run" + ;; wsr-1166|\ wsr-600) status_led="$board:orange:diag" @@ -173,7 +185,7 @@ get_status_led() { } set_state() { - get_status_led + get_status_led $1 case "$1" in preinit) @@ -182,6 +194,7 @@ set_state() { failsafe) status_led_blink_failsafe ;; + upgrade | \ preinit_regular) status_led_blink_preinit_regular ;;