projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add support for Planex VR500.
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
etc
/
diag.sh
diff --git
a/target/linux/ramips/base-files/etc/diag.sh
b/target/linux/ramips/base-files/etc/diag.sh
index daa7fb1afd08e992d73150311dc0f65a399126b1..84459a5c0147b16ad184b0488db8456167cbb0fe 100644
(file)
--- a/
target/linux/ramips/base-files/etc/diag.sh
+++ b/
target/linux/ramips/base-files/etc/diag.sh
@@
-19,26
+19,37
@@
get_status_led() {
asl26555|\
br-6425|\
br-6475nd|\
asl26555|\
br-6425|\
br-6475nd|\
+ dch-m225|\
+ dir-860l-b1|\
e1700|\
fonera20n|\
e1700|\
fonera20n|\
+ mzk-750dhp|\
mzk-dp150n|\
mzk-w300nh2|\
nbg-419n|\
mzk-dp150n|\
mzk-w300nh2|\
nbg-419n|\
+ nbg-419n2|\
pwh2004|\
pwh2004|\
+ vr500|\
wnce2001|\
wnce2001|\
+ wndr3700v5|\
x5|\
x8|\
xdxrn502j)
status_led="$board:green:power"
;;
x5|\
x8|\
xdxrn502j)
status_led="$board:green:power"
;;
+ 3g-6200nl)
+ status_led="$board:green:internet"
+ ;;
a5-v11|\
a5-v11|\
+ cs-qr10|\
d105|\
dcs-930l-b1|\
ex2700|\
hlk-rm04|\
jhr-n825r|\
mpr-a1|\
d105|\
dcs-930l-b1|\
ex2700|\
hlk-rm04|\
jhr-n825r|\
mpr-a1|\
- mpr-a2)
+ mpr-a2|\
+ mzk-ex750np)
status_led="$board:red:power"
;;
ai-br100|\
status_led="$board:red:power"
;;
ai-br100|\
@@
-59,13
+70,15
@@
get_status_led() {
dir-620-d1|\
hpm|\
hw550-3g|\
dir-620-d1|\
hpm|\
hw550-3g|\
+ mac1200rv2|\
miniembwifi|\
mofi3500-3gn|\
rut5xx|\
v11st-fe|\
vocore|\
wmr-300|\
miniembwifi|\
mofi3500-3gn|\
rut5xx|\
v11st-fe|\
vocore|\
wmr-300|\
- zbt-wg2626)
+ zbt-wg2626|\
+ zbt-wg3526)
status_led="$board:green:status"
;;
atp-52b|\
status_led="$board:green:status"
;;
atp-52b|\
@@
-73,13
+86,21
@@
get_status_led() {
status_led="$board:green:run"
;;
awapn2403|\
status_led="$board:green:run"
;;
awapn2403|\
- dir-645)
+ dir-645|\
+ sk-wb8|\
+ wrh-300cr)
status_led="$board:green:wps"
;;
status_led="$board:green:wps"
;;
+ c50)
+ status_led="tp-link:blue:power"
+ ;;
cf-wr800n|\
psg1208)
status_led="$board:white:wps"
;;
cf-wr800n|\
psg1208)
status_led="$board:white:wps"
;;
+ psg1218)
+ status_led="$board:blue:status"
+ ;;
cy-swr1100|\
w502u)
status_led="$board:blue:wps"
cy-swr1100|\
w502u)
status_led="$board:blue:wps"
@@
-100,13
+121,15
@@
get_status_led() {
status_led="$board:blue:power"
;;
db-wrt01|\
status_led="$board:blue:power"
;;
db-wrt01|\
- esr-9753)
+ esr-9753|\
+ pbr-d1)
status_led="$board:orange:power"
;;
f5d8235-v2)
status_led="$board:blue:router"
;;
status_led="$board:orange:power"
;;
f5d8235-v2)
status_led="$board:blue:router"
;;
- f7c027)
+ f7c027|\
+ timecloud)
status_led="$board:orange:status"
;;
hc5*61|\
status_led="$board:orange:status"
;;
hc5*61|\
@@
-128,6
+151,7
@@
get_status_led() {
status_led="$board:blue:status"
;;
miwifi-mini|\
status_led="$board:blue:status"
;;
miwifi-mini|\
+ miwifi-nano|\
zte-q7)
status_led="$board:red:status"
;;
zte-q7)
status_led="$board:red:status"
;;
@@
-137,8
+161,12
@@
get_status_led() {
nw718)
status_led="$board:amber:cpu"
;;
nw718)
status_led="$board:amber:cpu"
;;
+ newifi-d1)
+ status_led="$board:blue:status"
+ ;;
oy-0001|\
oy-0001|\
- sl-r7205)
+ sl-r7205|\
+ zbt-we826)
status_led="$board:green:wifi"
;;
psr-680w)
status_led="$board:green:wifi"
;;
psr-680w)
@@
-148,9
+176,11
@@
get_status_led() {
re6500|\
whr-1166d|\
whr-300hp2|\
re6500|\
whr-1166d|\
whr-300hp2|\
- whr-600d)
+ whr-600d|\
+ widora-neo)
status_led="$board:orange:wifi"
;;
status_led="$board:orange:wifi"
;;
+ mzk-ex300np|\
rt-n10-plus|\
tew-691gr|\
tew-692gr|\
rt-n10-plus|\
tew-691gr|\
tew-692gr|\
@@
-184,13
+214,16
@@
get_status_led() {
;;
wsr-1166|\
wsr-600)
;;
wsr-1166|\
wsr-600)
- status_led="$board:
orange:diag
"
+ status_led="$board:
green:power
"
;;
wrtnode2r | \
wrtnode2p | \
wrtnode)
status_led="wrtnode:blue:indicator"
;;
;;
wrtnode2r | \
wrtnode2p | \
wrtnode)
status_led="wrtnode:blue:indicator"
;;
+ zbt-cpe102)
+ status_led="$board:green:4g-0"
+ ;;
esac
}
esac
}