brcm47xx: use kernel 2.6.34.1 as default kernel
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / rb750
1 #!/bin/sh
2 #
3 # Copyright (C) 2010 OpenWrt.org
4 #
5
6 . /lib/ar71xx.sh
7
8 board=$(ar71xx_board_name)
9
10 rb750_set_leds() {
11 uci batch <<EOF
12 set system.led_act='led'
13 set system.led_act.name='act'
14 set system.led_act.sysfs='rb750:green:act'
15 set system.led_act.default='1'
16 set system.led_port1='led'
17 set system.led_port1.name='port1'
18 set system.led_port1.sysfs='rb750:green:port1'
19 set system.led_port1.trigger='netdev'
20 set system.led_port1.dev=eth1
21 set system.led_port1.mode='link tx rx'
22 set system.led_port2='led'
23 set system.led_port2.name='port2'
24 set system.led_port2.sysfs='rb750:green:port2'
25 set system.led_port2.trigger='netdev'
26 set system.led_port2.dev=port2
27 set system.led_port2.mode='link tx rx'
28 set system.led_port3='led'
29 set system.led_port3.name='port3'
30 set system.led_port3.sysfs='rb750:green:port3'
31 set system.led_port3.trigger='netdev'
32 set system.led_port3.dev=port3
33 set system.led_port3.mode='link tx rx'
34 set system.led_port4='led'
35 set system.led_port4.name='port4'
36 set system.led_port4.sysfs='rb750:green:port4'
37 set system.led_port4.trigger='netdev'
38 set system.led_port4.dev=port4
39 set system.led_port4.mode='link tx rx'
40 set system.led_port5='led'
41 set system.led_port5.name='port5'
42 set system.led_port5.sysfs='rb750:green:port5'
43 set system.led_port5.trigger='netdev'
44 set system.led_port5.dev=port5
45 set system.led_port5.mode='link tx rx'
46 commit system
47 EOF
48 }
49
50 if [ "${board}" == "rb-750" ]; then
51 rb750_set_leds
52 fi
This page took 0.053618 seconds and 5 git commands to generate.