ar71xx: use usbdev trigger for USB LEDs by default
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / tl-mr3x20
1 #!/bin/sh
2 #
3 # Copyright (C) 2010 OpenWrt.org
4 #
5
6 . /lib/ar71xx.sh
7
8 board=$(ar71xx_board_name)
9
10 tlmr3x20_setup_leds() {
11 uci batch <<EOF
12 set system.usb_led=led
13 set system.usb_led.name='USB'
14 set system.usb_led.sysfs='tl-mr3x20:green:3g'
15 set system.usb_led.trigger='usbdev'
16 set system.usb_led.dev='1-1'
17 set system.usb_led.interval='50'
18 commit system
19 EOF
20 }
21
22 case "${board}" in
23 "tl-mr3220" | \
24 "tl-mr3420" )
25 tlmr3x20_setup_leds
26 ;;
27 esac
This page took 0.038601 seconds and 5 git commands to generate.