summaryrefslogtreecommitdiff
path: root/target/linux/mvebu/base-files/etc/uci-defaults/01_leds
blob: 770bb0acb4dd2348417e3a8fcb508ff80d08752e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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