[package] udev: bump to 173
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / tl-wr1043nd
1 #!/bin/sh
2 #
3 # Copyright (C) 2010 OpenWrt.org
4 #
5
6 . /lib/ar71xx.sh
7
8 board=$(ar71xx_board_name)
9
10 tlwr1043nd_setup_leds() {
11 uci batch <<EOF
12 set system.wlan_led=led
13 set system.wlan_led.name='WLAN'
14 set system.wlan_led.sysfs='tl-wr1043nd:green:wlan'
15 set system.wlan_led.trigger='phy0tpt'
16 set system.usb_led=led
17 set system.usb_led.name='USB'
18 set system.usb_led.sysfs='tl-wr1043nd:green:usb'
19 set system.usb_led.trigger='usbdev'
20 set system.usb_led.dev='1-1'
21 set system.usb_led.interval='50'
22 commit system
23 EOF
24 }
25
26 if [ "${board}" == "tl-wr1043nd" ]; then
27 tlwr1043nd_setup_leds
28 fi
This page took 0.050025 seconds and 5 git commands to generate.