Modify

Opened 3 years ago

Closed 3 years ago

#19593 closed defect (fixed)

default=0 for leds doesn't set brightness to zero

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

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.

Attachments (1)

patch-3 (498 bytes) - added by anonymous 3 years ago.
fix test condition

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by anonymous

fix test condition

comment:1 Changed 3 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

applied in r45600

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.