openwrt/package/base-files/files
David Bauer e087bb5bd7 base-files: disable LEDs if default state is undefined
Set the default state for LEDs to off. When a trigger is set, the
trigger will turn the LED automatically on.

Currently LEDs might stay on, e.g. when the LED trigger is set to a
netdev trigger and the interface is never activated or the 'none'
trigger is selected without setting the 'default' option to 0 and it's
set for the LED indicating the system running state.

Using off as a default value is also consistent with the documentation
in the OpenWrt wiki.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-09-11 17:34:54 +02:00
..
bin base-files: add support for compat_version on device 2020-07-31 11:40:15 +02:00
etc base-files: disable LEDs if default state is undefined 2020-09-11 17:34:54 +02:00
lib base-files: support label-property-less in get_dt_leds 2020-09-05 23:24:46 +02:00
rom
sbin base-files: remove useless cat 2020-07-11 12:52:01 +02:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00