diff mbox

[OpenWrt-Devel] rampis: add support for status led on ASUS RT-N14U

Message ID 20150523124057.GA5019@enterprise
State Accepted
Headers show

Commit Message

Matteo Panella May 23, 2015, 12:40 p.m. UTC
The diag.sh script lacked an entry for the status led on the RT-N14U,
map it to the asus:blue:power led which is also used by the boot loader
to report boot status (eg. TFTP recovery mode VS normal boot)

Signed-off-by: Matteo Panella <m.panella@level28.org>
---
 target/linux/ramips/base-files/etc/diag.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 5301593..9d2a04f 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -126,7 +126,7 @@  get_status_led() {
 	rt-n10-plus)
 		status_led="asus:green:wps"
 		;;
-	rt-n56u | wl-330n | wl-330n3g)
+	rt-n14u | rt-n56u | wl-330n | wl-330n3g)
 		status_led="asus:blue:power"
 		;;
 	rut5xx)