aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorPaul Wassi <p.wassi@gmx.at>2016-10-25 16:06:18 +0200
committerJohn Crispin <john@phrozen.org>2016-10-26 12:37:46 +0200
commitd2606107ab34115482838e4e114d963b0e1cb1c0 (patch)
tree486b0b4fb794aef11ff4e5abf151fb34b8a1b79b /target/linux/kirkwood/base-files/etc/diag.sh
parente7dc511e640b00f4ec381248c317cb6370bd798e (diff)
downloadupstream-d2606107ab34115482838e4e114d963b0e1cb1c0.tar.gz
upstream-d2606107ab34115482838e4e114d963b0e1cb1c0.tar.bz2
upstream-d2606107ab34115482838e4e114d963b0e1cb1c0.zip
kirkwood: fix pogo_e02 LED name
The pogo_e02's dts file has its LEDs named "pogo_e02:(...)" Fix the status-LED's name for this device. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/diag.sh')
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/diag.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/kirkwood/base-files/etc/diag.sh b/target/linux/kirkwood/base-files/etc/diag.sh
index 8d480542f0..91cb8cf78e 100755
--- a/target/linux/kirkwood/base-files/etc/diag.sh
+++ b/target/linux/kirkwood/base-files/etc/diag.sh
@@ -8,10 +8,12 @@ get_status_led() {
case $(kirkwood_board_name) in
dockstar|\
goflexhome|\
- goflexnet|\
- pogo_e02)
+ goflexnet)
status_led="status:orange:fault"
;;
+ pogo_e02)
+ status_led="pogo_e02:orange:fault"
+ ;;
linksys-audi)
status_led="audi:green:power"
;;