base-files: add option to set LED brightness
authorPaweł Owoc <frut3k7@gmail.com>
Fri, 6 Dec 2024 16:11:59 +0000 (17:11 +0100)
committerJohn Crispin <john@phrozen.org>
Thu, 12 Dec 2024 08:46:38 +0000 (09:46 +0100)
commitcbdfd03e42f5619127d357eaba48b77f62628654
treec54806aa4973c5bfb58cd579e61182c0aa67cf06
parent3710323a469212ef0bbc5dc414895f6198edb67e
base-files: add option to set LED brightness

Add option to set LED brightness via uci:

config led 'led_blue'
        option name 'blue'
        option sysfs 'blue:status'
        option brightness '1'

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17190
Signed-off-by: John Crispin <john@phrozen.org>
package/base-files/files/etc/init.d/led