immortalwrt/package/base-files/files/lib/functions
Piotr Dymacz d6860f8f9a base-files: diag: restore default trigger for 'boot' LED
For devices without a dedicated 'diag' LED, we use sometimes one of
other LEDs for indicating at least 'boot', 'failsafe' and 'upgrade'
stages. In some cases, at the same time these LEDs have defined default
triggers in DTS using 'linux,default-trigger' property. Current 'diag'
setup removes the trigger and turns off 'boot' LED after bootup.

This patch extends 'diag.sh' and 'leds.sh' scripts to make sure default
trigger defined in DTS is restored for 'diag' LED which isn't used for
indicating 'running' stage.

Acked-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2020-10-13 18:26:08 +08:00
..
leds.sh base-files: diag: restore default trigger for 'boot' LED 2020-10-13 18:26:08 +08:00
migrations.sh lantiq: sync official source code 2020-04-25 18:29:43 +08:00
network.sh base-files: fix comment typo in lib/functions/network.sh 2020-09-02 11:33:22 +08:00
preinit.sh Revert "base-files: update" 2019-11-24 01:27:26 +08:00
service.sh Revert "base-files: update" 2019-11-24 01:27:26 +08:00
system.sh Merge Lean's source 2020-02-03 14:13:23 +08:00
uci-defaults.sh ipq40xx: sync source code 2020-02-25 17:26:06 +08:00