From: Paul Wassi
Date: Tue, 25 Oct 2016 14:06:18 +0000 (+0200)
Subject: kirkwood: fix pogo_e02 LED name
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d2606107ab34115482838e4e114d963b0e1cb1c0;p=openwrt%2Fstaging%2Fblogic.git
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
---
diff --git a/target/linux/kirkwood/base-files/etc/diag.sh b/target/linux/kirkwood/base-files/etc/diag.sh
index 8d480542f061..91cb8cf78eef 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"
;;