openwrt/package/base-files/files/etc/init.d
Florian Eckert c6fabd0bc3 base-files/leds: add setting the LED color via uci
Add the possibility that colored LEDs can also be configured via the uci.

config led 'led1'
	option name '<name>'
	option sysfs '<path>'
	option trigger 'default-on'
	option default '1'
-->	option color_{$color} '<0-255>'

The supported names of the variable "${color}" for the selected LED can be
queried in the file with the name 'multi_index'.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-02-07 15:34:43 +01:00
..
boot base-files: fix duplicate wifi radio sections when using phy renaming 2023-07-17 14:33:57 +02:00
done
gpio_switch
led base-files/leds: add setting the LED color via uci 2024-02-07 15:34:43 +01:00
sysctl
sysfixtime base-files: sysfixtime: Fix time on the fake RTC 2023-02-19 20:04:59 +08:00
system
umount