[package] udev: bump to 173
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / wndr3700
1 #!/bin/sh
2 #
3 # Copyright (C) 2010 OpenWrt.org
4 #
5
6 . /lib/ar71xx.sh
7
8 board=$(ar71xx_board_name)
9
10 wndr3700_set_wan_led() {
11 uci batch <<EOF
12 set system.wan_led=led
13 set system.wan_led.sysfs='wndr3700:green:wan'
14 set system.wan_led.name='WAN LED (green)'
15 set system.wan_led.default='0'
16 set system.usb_led=led
17 set system.usb_led.name='USB'
18 set system.usb_led.sysfs='wndr3700: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}" == "wndr3700" -o "${board}" == "wndr3700v2" ]; then
27 wndr3700_set_wan_led
28 fi
This page took 0.047552 seconds and 5 git commands to generate.