ar71xx: override inittab to enable login on ttyATH0
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / wzr-hp-g300nh
1 #!/bin/sh
2 #
3 # Copyright (C) 2010 OpenWrt.org
4 #
5
6 . /lib/ar71xx.sh
7
8 board=$(ar71xx_board_name)
9
10 wzrhpg300nh_set_leds() {
11 uci batch <<EOF
12 add system led
13 set system.@led[-1]='led'
14 set system.@led[-1].name='Wireless'
15 set system.@led[-1].sysfs='wzr-hp-g300nh:green:wireless'
16 set system.@led[-1].trigger='phy0tpt'
17 add system led
18 set system.@led[-1]='led'
19 set system.@led[-1].name='Router'
20 set system.@led[-1].sysfs='wzr-hp-g300nh:green:router'
21 set system.@led[-1].trigger='netdev'
22 set system.@led[-1].dev='eth1'
23 set system.@led[-1].mode='link tx rx'
24 add system led
25 set system.@led[-1]='led'
26 set system.@led[-1].name='USB'
27 set system.@led[-1].sysfs='wzr-hp-g300nh:blue:usb'
28 set system.@led[-1].trigger='usbdev'
29 set system.@led[-1].dev='1-1'
30 set system.@led[-1].interval='50'
31 commit system
32 EOF
33 }
34
35 if [ "${board}" == "wzr-hp-g300nh" -o "${board}" == "wzr-hp-g301nh" ]; then
36 wzrhpg300nh_set_leds
37 fi
This page took 0.070375 seconds and 5 git commands to generate.