Przeglądaj źródła

ramips: fix widora neo diag led

The diag LED is named widora:orange:wifi and can't be derived from the
boardname.

Signed-off-by: Mathias Kresin <[email protected]>
Mathias Kresin 8 lat temu
rodzic
commit
76d735d189
1 zmienionych plików z 4 dodań i 2 usunięć
  1. 4 2
      target/linux/ramips/base-files/etc/diag.sh

+ 4 - 2
target/linux/ramips/base-files/etc/diag.sh

@@ -223,8 +223,7 @@ get_status_led() {
 		;;
 	re6500|\
 	whr-1166d|\
-	whr-600d|\
-	widora-neo)
+	whr-600d)
 		status_led="$boardname:orange:wifi"
 		;;
 	mzk-ex300np|\
@@ -285,6 +284,9 @@ get_status_led() {
 	zbt-we2026)
 		status_led="$boardname:red:power"
 		;;
+	widora-neo)
+		status_led="widora:orange:wifi"
+		;;
 	wzr-agl300nh)
 		status_led="$boardname:green:router"
 		;;