#19593: default=0 for leds doesn't set brightness to zero
-----------------------+------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Keywords: |
-----------------------+------------------------
When setting default=0 in the led configuration section the led's
brightness is supposed to be set to zero to turn-off the led.
Example:
{{{
config led 'led_diag'
option name 'DIAG'
option sysfs 'buffalo:red:diag'
option default '0'
}}}
However this doesn't happen because of a wrong test condition in
/etc/init.d/led.
Patch attached.
--
Ticket URL: <https://dev.openwrt.org/ticket/19593>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets