base-files: configure LED when added
authorDaniel Golle <daniel@makrotopia.org>
Thu, 3 Oct 2024 15:25:36 +0000 (16:25 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 3 Oct 2024 22:05:24 +0000 (23:05 +0100)
commit511e8f84d093b6fbb93b044c2ab150e613b88171
tree86b0f5a9d6d65bf746d34cb3edac2ac540ed91c0
parent664b8ffb0a0eb81ba998d28c09dd0b5e476e2adc
base-files: configure LED when added

Currently LED configuration is only carried out once during boot.
Apply LED configuration also with a hotplug call when a new LED gets
added later.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/base-files/files/etc/hotplug.d/leds/00-init [new file with mode: 0644]
package/base-files/files/etc/init.d/led