base-files: add option to set LED brightness
authorPaweł Owoc <[email protected]>
Fri, 6 Dec 2024 16:11:59 +0000 (17:11 +0100)
committerJohn Crispin <[email protected]>
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17190
Signed-off-by: John Crispin <[email protected]>
package/base-files/files/etc/init.d/led