Ignore:
Timestamp:
2010-11-28T23:04:30+01:00 (5 years ago)
Author:
cshore
Message:

bcm63xx: Allow 'colored' power leds.

Since some devices have more than one power led, they might be separated by
their color in the name. To also allow them to be on after leaving preinit,
set any status led starting with 'power' to on instead of only those with
the exact name of 'power'.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/base-files/etc/diag.sh

    r22466 r24187  
    6262                ;; 
    6363        done) 
    64                 if [ "$status_led" = "power" ]; then 
     64                if [ "${status_led#power}" != "$status_led" ]; then 
    6565                        status_led_on 
    6666                else 
Note: See TracChangeset for help on using the changeset viewer.