From: Imre Kaloz Date: Tue, 1 Jul 2014 09:45:41 +0000 (+0000) Subject: [mvebu]: set led triggers for the Linksys WRT1900AC X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=0881194bd94f05c227a6ba077dcad3b790daba78;p=openwrt%2Fsvn-archive%2Farchive.git [mvebu]: set led triggers for the Linksys WRT1900AC Signed-off-by: Imre Kaloz SVN-Revision: 41436 --- diff --git a/target/linux/mvebu/base-files/etc/uci-defaults/01_leds b/target/linux/mvebu/base-files/etc/uci-defaults/01_leds new file mode 100755 index 0000000000..64886204d7 --- /dev/null +++ b/target/linux/mvebu/base-files/etc/uci-defaults/01_leds @@ -0,0 +1,22 @@ +#!/bin/sh +# +# Copyright (C) 2014 OpenWrt.org +# + +. /lib/functions/uci-defaults.sh +. /lib/mvebu.sh + +board=$(mvebu_board_name) + +case "$board" in +armada-xp-mamba) + #ucidef_set_led_netdev "wan" "WAN" "tlc59116:1" "eth1" + ucidef_set_led_usbdev "usb1" "USB1" "tlc59116:5" "1-1" + ucidef_set_led_usbdev "usb2" "USB2" "tlc59116:6" "2-2" + ;; + +esac + +ucidef_commit_leds + +exit 0