[source] ramips: use the ZBT-WE826 power LED for status indication

LEDE Commits lede-commits at lists.infradead.org
Tue Apr 25 10:30:41 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/725238f698c94656dc216bdd6ae6e3275f266ea4

commit 725238f698c94656dc216bdd6ae6e3275f266ea4
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Wed Apr 12 07:56:40 2017 +0200

    ramips: use the ZBT-WE826 power LED for status indication
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/ramips/base-files/etc/board.d/01_leds | 1 -
 target/linux/ramips/base-files/etc/diag.sh         | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index d11d9c3..5aab21c 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -397,7 +397,6 @@ zbt-we2026)
 	;;
 zbt-we826-16M|\
 zbt-we826-32M)
-	ucidef_set_led_default "power" "power" "zbt-we826:green:power" "1"
 	set_wifi_led "zbt-we826:green:wifi"
 	set_usb_led "zbt-we826:green:usb"
 	;;
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index f2aca34..461f46c 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -274,7 +274,7 @@ get_status_led() {
 		;;
 	zbt-we826-16M|\
 	zbt-we826-32M)
-		status_led="zbt-we826:green:wifi"
+		status_led="zbt-we826:green:power"
 		;;
 	zbt-wg3526-16M|\
 	zbt-wg3526-32M)



More information about the lede-commits mailing list