mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[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
This commit is contained in:
parent
8dd40de149
commit
dda2bded33
22
target/linux/mvebu/base-files/etc/uci-defaults/01_leds
Executable file
22
target/linux/mvebu/base-files/etc/uci-defaults/01_leds
Executable file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user