[LEDE-DEV] [PATCH] ar71xx: set status led for the gl-* boards

Wojciech Jowsa w.jowsa at radytek.com
Tue Feb 14 06:46:11 PST 2017


This sets status_led for the  gl-ar300m and gl-mifi boards.

Signed-off-by: Wojciech Jowsa <w.jowsa at radytek.com>
---
 target/linux/ar71xx/base-files/etc/diag.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ar71xx/base-files/etc/diag.sh
b/target/linux/ar71xx/base-files/etc/diag.sh
index a407a99..df13c43 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -63,6 +63,10 @@ get_status_led() {
        gl-inet)
                status_led="$board:green:lan"
                ;;
+       gl-ar300m|\
+       gl-mifi)
+               status_led="$board:lan"
+               ;;
        ap96)
                status_led="$board:green:led2"
                ;;
-- 
2.8.1



More information about the Lede-dev mailing list