Changeset 28704


Ignore:
Timestamp:
2011-11-01T12:20:49+01:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: combine LEDs setup in one file

Location:
trunk/target/linux/ar71xx/base-files/etc/uci-defaults
Files:
1 added
11 deleted
1 edited

Legend:

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

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