You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gabor Juhos 6c627a266b base-files: introduce commonly used helper functions for setting leds
Currently, most platforms define such helpers in their own diag.sh
implementation with almost identical code. By factoring out the
common ground it's possible to simplify maintainability and
homogenize the haptics over multiple platforms (so far as is
reasonably practicable, in a next step).

[juhosg:
 - fix led_set_attr parameters in led_timer
 - add led_morse and status_led_set_morse helpers
 - add status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35648
12 years ago
..
firstboot Do not overload mount-call - trying to reduce confusion 12 years ago
functions base-files: introduce commonly used helper functions for setting leds 12 years ago
preinit base-files: Don't pass '--set-worker /lib/hotplug2/worker_fork.so' to hotplug2 (#12781) 12 years ago
upgrade hot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade 12 years ago
functions.sh base-files: minor cosmetic corrections for functions.sh 12 years ago