immortalwrt/package/base-files/files/lib
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
..
functions base-files: diag: restore default trigger for 'boot' LED 2020-10-13 18:26:08 +08:00
preinit Merge Lean's source 2020-02-03 14:13:23 +08:00
upgrade treewide: replace which with command -v 2020-08-13 23:30:21 +08:00
functions.sh base-files/functions.sh: use command -v instead of which 2020-07-12 12:25:13 +08:00