[OpenWrt-Devel] [PATCH 1/1] kirkwood: plugs: default leds

Gerald Kerma dreagle at doukki.net
Fri Dec 19 03:27:56 EST 2014


Set defaults health led to a timer heartbeet (200/800) for :
- GuruplugServerPlus
- SheevaPlug
- SheevaPlug with eSATA

Signed-off-by: Gerald Kerma <dreagle at doukki.net>
---
 target/linux/kirkwood/base-files/etc/uci-defaults/01_leds | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
index 41191f7..ccc543d 100644
--- a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
@@ -28,6 +28,13 @@ case "$board" in
 	ucidef_set_led_default "health" "status:green:health" "1"
 	ucidef_set_led_default "fault" "status:orange:fault" "1"
 	;;
+"guruplug-server-plus")
+	ucidef_set_led_timer "health" "guruplug:red:health" "200" "800"
+	;;
+"sheevaplug")
+"sheevaplug-esata")
+	ucidef_set_led_timer "health" "sheevaplug:blue:health" "200" "800"
+	;;
 *)
 	;;
 esac
-- 
2.1.3
_______________________________________________
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