Changeset 26861


Ignore:
Timestamp:
2011-05-08T23:38:49+02:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: add uci config for the WLAN LED on the WRT160NL

Based on a patch by Magyar Szabolcs <mszabi@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/wrt160nl

    r24897 r26861  
    1212} 
    1313 
     14wrt160nl_setup_leds() { 
     15        uci batch <<EOF 
     16set system.wlan_led=led 
     17set system.wlan_led.name='WLAN' 
     18set system.wlan_led.sysfs='wrt160nl:blue:wlan' 
     19set system.wlan_led.trigger='phy0tpt' 
     20commit system 
     21EOF 
     22} 
     23 
    1424if [ "${board}" == "wrt160nl" ]; then 
    1525        wrt160nl_fixtrx 
     26        wrt160nl_setup_leds 
    1627fi 
Note: See TracChangeset for help on using the changeset viewer.