Changeset 45600


Ignore:
Timestamp:
2015-05-03T20:04:27+02:00 (3 years ago)
Author:
nbd
Message:

base-files: fix logic error in led default handling (patch from #19593)

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/files/etc/init.d/led

    r45463 r45600  
    3636                echo "setting up led ${name}" 
    3737 
    38                 [ "$default" = 0 ] || 
     38                [ "$default" = 0 ] && 
    3939                        echo 0 >/sys/class/leds/${sysfs}/brightness 
    4040 
Note: See TracChangeset for help on using the changeset viewer.