[source] kirkwood: fix pogo_e02 LED name

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 26 03:46:35 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/d2606107ab34115482838e4e114d963b0e1cb1c0

commit d2606107ab34115482838e4e114d963b0e1cb1c0
Author: Paul Wassi <p.wassi at gmx.at>
AuthorDate: Tue Oct 25 16:06:18 2016 +0200

    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 at gmx.at>
---
 target/linux/kirkwood/base-files/etc/diag.sh | 6 ++++--
 1 file 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 8d48054..91cb8cf 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"
 		;;



More information about the lede-commits mailing list