X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Fetc%2Fdiag.sh;h=0b5bfeb5895d626a8211cbcef4285d02ee8a0218;hp=3940a54845ee9654b3c46c01af8c19694b430cb4;hb=3f31029b190417e12f4d19d9999cd52ec76d0f85;hpb=6cbb1be464941591c567d707a423d4aaea496f1d diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 3940a54845..0b5bfeb589 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -19,64 +19,90 @@ get_status_led() { asl26555|\ br-6425|\ br-6475nd|\ + c50|\ + dch-m225|\ + dir-860l-b1|\ e1700|\ fonera20n|\ + kn_rc|\ + kn_rf|\ + kng_rc|\ + mzk-750dhp|\ mzk-dp150n|\ mzk-w300nh2|\ nbg-419n|\ + nbg-419n2|\ pwh2004|\ + vr500|\ wnce2001|\ + wndr3700v5|\ x5|\ x8|\ xdxrn502j) status_led="$board:green:power" ;; + 3g-6200nl) + status_led="$board:green:internet" + ;; a5-v11|\ + cs-qr10|\ d105|\ dcs-930l-b1|\ + ex2700|\ hlk-rm04|\ + jhr-n825r|\ mpr-a1|\ - mpr-a2) + mpr-a2|\ + mzk-ex750np) status_led="$board:red:power" ;; - ai-br100|\ - ht-tm02) - status_led="$board:blue:wlan" - ;; + ac1200pro|\ all0239-3g|\ dcs-930|\ dir-300-b1|\ dir-300-b7|\ dir-320-b1|\ dir-600-b1|\ - dir-600-b2|\ dir-610-a1|\ dir-615-d|\ dir-615-h1|\ dir-620-a1|\ dir-620-d1|\ + dwr-512-b|\ hpm|\ hw550-3g|\ + mac1200rv2|\ miniembwifi|\ mofi3500-3gn|\ rut5xx|\ v11st-fe|\ vocore|\ wmr-300|\ - zbt-wg2626) + zbt-wg2626|\ + zbt-wg3526) status_led="$board:green:status" ;; + ai-br100|\ + ht-tm02) + status_led="$board:blue:wlan" + ;; atp-52b|\ ip2202) status_led="$board:green:run" ;; awapn2403|\ - dir-645) + dir-645|\ + sk-wb8|\ + wrh-300cr) status_led="$board:green:wps" ;; - cf-wr800n) + cf-wr800n|\ + psg1208) status_led="$board:white:wps" ;; + psg1218) + status_led="$board:yellow:status" + ;; cy-swr1100|\ w502u) status_led="$board:blue:wps" @@ -97,16 +123,23 @@ get_status_led() { status_led="$board:blue:power" ;; db-wrt01|\ - esr-9753) + esr-9753|\ + pbr-d1) status_led="$board:orange:power" ;; + f5d8235-v1) + status_led="$board:blue:wired" + ;; f5d8235-v2) status_led="$board:blue:router" ;; - f7c027) + f7c027|\ + timecloud) status_led="$board:orange:status" ;; hc5*61|\ + jhr-n805r|\ + jhr-n926r|\ mlw221|\ mlwg2) status_led="$board:blue:system" @@ -119,7 +152,8 @@ get_status_led() { status_led="$board:blue:wifi" ;; m3|\ - m4) + m4|\ + miwifi-nano) status_led="$board:blue:status" ;; miwifi-mini|\ @@ -129,11 +163,18 @@ get_status_led() { mr-102n) status_led="$board:amber:status" ;; + mr200) + status_led="$board:white:power" + ;; nw718) status_led="$board:amber:cpu" ;; + newifi-d1) + status_led="$board:blue:status" + ;; oy-0001|\ - sl-r7205) + sl-r7205|\ + zbt-we826) status_led="$board:green:wifi" ;; psr-680w) @@ -142,10 +183,11 @@ get_status_led() { px-4885|\ re6500|\ whr-1166d|\ - whr-300hp2|\ - whr-600d) + whr-600d|\ + widora-neo) status_led="$board:orange:wifi" ;; + mzk-ex300np|\ rt-n10-plus|\ tew-691gr|\ tew-692gr|\ @@ -155,13 +197,20 @@ get_status_led() { wr512-3gn) status_led="$board:green:wps" ;; + rb750gr3) + status_led="$board:blue:pwr" + ;; sap-g3200u3) status_led="$board:green:usb" ;; v22rw-2x2) status_led="$board:green:security" ;; + vocore2) + status_led="$board:fuchsia:status" + ;; w306r-v20|\ + witi|\ zbt-wr8305rt) status_led="$board:green:sys" ;; @@ -170,15 +219,27 @@ get_status_led() { status_led="$board:amber:power" ;; whr-g300n|\ + wlr-6000) + status_led="$board:red:power" + ;; wzr-agl300nh) status_led="$board:green:router" ;; wizfi630a) status_led="$board::run" ;; + whr-300hp2|\ wsr-1166|\ wsr-600) - status_led="$board:orange:diag" + status_led="$board:green:power" + ;; + wrtnode2r | \ + wrtnode2p | \ + wrtnode) + status_led="wrtnode:blue:indicator" + ;; + zbt-cpe102) + status_led="$board:green:4g-0" ;; esac }