2
0
forked from Ivasoft/openwrt

ar71xx: combine LEDs setup in one file

SVN-Revision: 28704
This commit is contained in:
Gabor Juhos
2011-11-01 11:20:49 +00:00
parent f372620ffa
commit 43e2e2e4ef
13 changed files with 144 additions and 305 deletions

View File

@@ -11,17 +11,6 @@ wrt160nl_fixtrx() {
mtd -o 32 fixtrx firmware
}
wrt160nl_setup_leds() {
uci batch <<EOF
set system.wlan_led=led
set system.wlan_led.name='WLAN'
set system.wlan_led.sysfs='wrt160nl:blue:wlan'
set system.wlan_led.trigger='phy0tpt'
commit system
EOF
}
if [ "${board}" == "wrt160nl" ]; then
wrt160nl_fixtrx
wrt160nl_setup_leds
fi