remove mips gcc4 inline patch - fixed upstream
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / zcn-1523h-5
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 set system.led_lan2='led'
19 set system.led_lan2.name='lan2'
20 set system.led_lan2.sysfs='zcn-1523h:green:lan2'
21 set system.led_lan2.trigger='netdev'
22 set system.led_lan2.dev='eth1'
23 set system.led_lan2.mode='link tx rx'
24 commit system
25 EOF
26 }
27
28 if [ "${board}" == "zcn-1523h-5" ]; then
29 zcn_set_leds
30 fi
This page took 0.046119 seconds and 5 git commands to generate.