ar71xx: unify LED names on TP-Link boards
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / mzk-w04nu
1 #!/bin/sh
2 #
3 # Copyright (C) 2010 OpenWrt.org
4 #
5
6 . /lib/ar71xx.sh
7
8 board=$(ar71xx_board_name)
9
10 mzk_w04nu_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='mzk-w04nu:green:usb'
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 if [ "${board}" == "mzk-w04u" ]; then
23 mzk_w04nu_setup_leds
24 fi
This page took 0.047946 seconds and 5 git commands to generate.