openwrt/package/base-files/files/etc/init.d
Florian Eckert 102855b3c1 base-files/leds: save led color value if available
There are monochrome LEDs that can only display one color. However, there
are also LEDs that can display multiple colors. This can be tested in the
led subsystem of the kernel if the files 'multi_index' and 'multi_intensity'
are present in the folder '/sys/class/leds/<ledname>'.

Until now it was not possible to reset the default color. This commit adds
the missing information in the file '/var/run/led.state' so that the bootup
color can be seen on the LED again when the LED configuration has been changed.

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 base-files: prevent issues w/ overlay on powerloss after sysupgrade 2020-06-03 16:49:28 +02:00
gpio_switch base-files: gpio switch: add named GPIO support 2020-06-18 20:08:18 +02:00
led base-files/leds: save led color value if available 2024-02-07 15:34:43 +01:00
sysctl base-files: fix wrong sysctl parameter order 2018-07-18 19:17:46 +02:00
sysfixtime base-files: sysfixtime: Fix time on the fake RTC 2023-02-19 20:04:59 +08:00
system base-files: fix /tmp/TZ when zoneinfo not installed 2021-06-24 20:00:20 -10:00
umount base-files: supress service restart of umount 2019-07-03 07:45:00 +02:00