enable handling of the wan led on the WRT1900AC
[openwrt/openwrt.git] / target / linux / mvebu / base-files / etc / uci-defaults / 01_leds
1 #!/bin/sh
2 #
3 # Copyright (C) 2014 OpenWrt.org
4 #
5
6 . /lib/functions/uci-defaults.sh
7 . /lib/mvebu.sh
8
9 board=$(mvebu_board_name)
10
11 case "$board" in
12 armada-xp-mamba)
13 ucidef_set_led_netdev "wan" "WAN" "tlc59116:1" "eth1"
14 ucidef_set_led_usbdev "usb1" "USB1" "tlc59116:5" "1-1"
15 ucidef_set_led_usbdev "usb2" "USB2" "tlc59116:6" "2-2"
16 ;;
17
18 esac
19
20 ucidef_commit_leds
21
22 exit 0