[OpenWrt-Devel] [PATCH] ramips: nexx wt3020: fix status led

Cezary Jackiewicz cezary.jackiewicz at gmail.com
Thu Feb 19 14:41:22 EST 2015


For Nexx WT3020 board_name is wt3020, not nexx-wt3020

root at OpenWrt:~# . /lib/ramips.sh; echo $(ramips_board_name)
wt3020

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz at gmail.com>
---

diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 39a0868..50b6ff2 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -190,7 +190,7 @@ get_status_led() {
 	nexx-wt1520)
 		status_led="nexx-wt1520:white:power"
 		;;
-	nexx-wt3020)
+	wt3020)
 		status_led="nexx:blue:power"
 		;;
 	mzk-w300nh2)


-- 
Pozdrawiam,
 Cezary Jackiewicz
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list