Ignore:
Timestamp:
2011-10-24T23:49:31+02:00 (5 years ago)
Author:
juhosg
Message:

ramips: combine led setup for all boards in one file

This removes unnecessary duplication and simplifies led setup for new
boards. It would be a one line change most likely.

Signed-off-by: Alexander Gordeev <lasaine@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/base-files/etc/uci-defaults/nw718

    r28007 r28569  
    2828} 
    2929 
    30 nw718_set_leds() { 
    31         uci batch <<EOF 
    32 set system.usb_led=led 
    33 set system.usb_led.name='USB' 
    34 set system.usb_led.sysfs='nw718:amber:usb' 
    35 set system.usb_led.trigger='usbdev' 
    36 set system.usb_led.dev='1-1' 
    37 set system.usb_led.interval='50' 
    38 commit system 
    39 EOF 
    40 } 
    41  
    4230. /lib/ramips.sh 
    4331 
     
    4533 
    4634if [ "${board}" == "nw718" ]; then 
    47         nw718_set_leds 
    4835        nw718_set_macs 
    4936fi 
Note: See TracChangeset for help on using the changeset viewer.