From f372620ffae0edbcc501995fcedf34eba8607b5b Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 1 Nov 2011 11:20:47 +0000 Subject: [PATCH] ar71xx: unify LED names on Planex boards SVN-Revision: 28703 --- target/linux/ar71xx/base-files/etc/diag.sh | 6 ++---- .../ar71xx/base-files/etc/uci-defaults/mzk-w04nu | 2 +- .../ar71xx/files/arch/mips/ar71xx/mach-mzk-w04nu.c | 12 ++++++------ .../ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c | 10 +++++----- 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index a608f4e063..d7673dedf1 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -63,11 +63,9 @@ get_status_led() { ls-sr71) status_led="ubnt:green:d22" ;; - mzk-w04nu) - status_led="mzk-w04nu:green:status" - ;; + mzk-w04nu | \ mzk-w300nh) - status_led="mzk-w300nh:green:status" + status_led="planex:green:status" ;; nbg460n_550n_550nh) status_led="nbg460n:green:power" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/mzk-w04nu b/target/linux/ar71xx/base-files/etc/uci-defaults/mzk-w04nu index 1be4149972..db3bcba552 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/mzk-w04nu +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/mzk-w04nu @@ -11,7 +11,7 @@ mzk_w04nu_setup_leds() { uci batch <