3 # Copyright (C) 2010 OpenWrt.org
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
10 # This script sets system defaults for the hardware on firstboot
13 local hardware
=`sed -n /Hardware/s/.*:.//p /proc/cpuinfo`
18 set system.power_led=led
19 set system.power_led.name='Power LED (green)'
20 set system.power_led.sysfs='wrt350nv2:green:power'
21 set system.power_led.default='1'
22 set system.wifi_led=led
23 set system.wifi_led.name='Wireless LED (green)'
24 set system.wifi_led.sysfs='wrt350nv2:green:wireless'
25 set system.wifi_led.trigger='netdev'
26 set system.wifi_led.dev='wlan0'
27 set system.wifi_led.mode='link tx rx'
28 set system.wifi_led.default='0'
This page took 0.042427 seconds and 5 git commands to generate.