[OpenWrt-Devel] [PATCH 2/2] BB: lantiq - vgv7519 - set some defaults for leds

Eddi De Pieri eddi at depieri.net
Fri Nov 7 17:15:21 EST 2014


Signed-off-by: Eddi De Pieri <eddi at depieri.net>
---
 target/linux/lantiq/base-files/etc/uci-defaults/01_leds |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds
index c558543..b0e0b2a 100644
--- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds
@@ -25,6 +25,13 @@ BTHOMEHUBV2B)
 	ucidef_set_led_netdev "internet" "internet" "soc:blue:broadband" "nas0"
 	ucidef_set_led_usbdev "usb" "usb" "soc:blue:phone" "1-1"
 	;;
+VGV7519)
+	ucidef_set_led_default "power" "power" "power" "0"
+	ucidef_set_led_default "power2" "power2" "power2" "1"
+	ucidef_set_led_wlan "wireless_yellow" "wireless_yellow" "wireless_yellow" "phy0radio"
+	ucidef_set_led_netdev "internet_yellow" "internet_yellow" "internet_yellow" "nas0"
+	ucidef_set_led_netdev "broadband_yellow" "broadband_yellow" "broadband_yellow" "pppoe-wan"
+	;;
 *)
 	;;
 esac
-- 
1.7.10.4
_______________________________________________
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