[package] udev: bump to 173
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / zcn-1523h-2
1 #!/bin/sh
2 #
3 # Copyright (C) 2010 OpenWrt.org
4 #
5
6 . /lib/ar71xx.sh
7
8 board=$(ar71xx_board_name)
9
10 zcn_set_leds() {
11 uci batch <<EOF
12 set system.led_lan1='led'
13 set system.led_lan1.name='lan1'
14 set system.led_lan1.sysfs='zcn-1523h:green:lan1'
15 set system.led_lan1.trigger='netdev'
16 set system.led_lan1.dev='eth0'
17 set system.led_lan1.mode='link tx rx'
18 commit system
19 EOF
20 }
21
22 if [ "${board}" == "zcn-1523h-2" ]; then
23 zcn_set_leds
24 fi
This page took 0.044204 seconds and 5 git commands to generate.