diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2014-07-01 09:45:41 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2014-07-01 09:45:41 +0000 |
commit | dda2bded33c2f3be2f4231f7132c797faf434849 (patch) | |
tree | 6b3f0dc377a28a6ef0e8a6a1a62f08f1da4535f5 /target/linux/mvebu | |
parent | 8dd40de14951643a960bdbf04fa1df00ea6f2ceb (diff) | |
download | upstream-dda2bded33c2f3be2f4231f7132c797faf434849.tar.gz upstream-dda2bded33c2f3be2f4231f7132c797faf434849.tar.bz2 upstream-dda2bded33c2f3be2f4231f7132c797faf434849.zip |
[mvebu]: set led triggers for the Linksys WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41436 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu')
-rwxr-xr-x | target/linux/mvebu/base-files/etc/uci-defaults/01_leds | 22 |
1 files changed, 22 insertions, 0 deletions
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 |