From 080061c1ba61805974aed22dbf59438da329e5ea Mon Sep 17 00:00:00 2001
From: Paul Wassi
Date: Tue, 24 Oct 2017 14:23:58 +0200
Subject: ar71xx: fix LED names for GL-AR150
Add the respective colour to the LED's names for the GL-AR150 to be conform
to the kernel. Also add netdev triggers for the LAN and WAN LED.
Signed-off-by: Paul Wassi
---
target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration | 4 ++++
1 file changed, 4 insertions(+)
(limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
index d6f7077093..05d806051a 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
@@ -54,6 +54,10 @@ dr344)
migrate_leds ":red:=:green:" ":yellow:=:green:"
;;
+gl-ar150)
+ migrate_leds "gl-ar150:wlan=gl-ar150:orange:wlan" "gl-ar150:lan=gl-ar150:green:lan" "gl-ar150:wan=gl-ar150:green:wan"
+ ;;
+
wndap360)
migrate_leds "wndap360:=netgear:"
;;
--
cgit v1.2.3