[source] ramips: fix status LED for WHR-300HP2

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 14 08:55:32 PST 2016


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

commit a17872ec4fd312bc34325daaf057a048f9f9e8ab
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Nov 14 15:03:08 2016 +0100

    ramips: fix status LED for WHR-300HP2
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 target/linux/ramips/base-files/etc/diag.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index a229bbb..c1836e1 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -173,7 +173,6 @@ get_status_led() {
 	px-4885|\
 	re6500|\
 	whr-1166d|\
-	whr-300hp2|\
 	whr-600d|\
 	widora-neo)
 		status_led="$board:orange:wifi"
@@ -213,6 +212,7 @@ get_status_led() {
 	wizfi630a)
 		status_led="$board::run"
 		;;
+	whr-300hp2|\
 	wsr-1166|\
 	wsr-600)
 		status_led="$board:green:power"



More information about the lede-commits mailing list