aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/diag.sh
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-18 09:56:23 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-18 09:56:23 +0000
commit9b24e8bb6daa71abe94d49390ef826bfd8806839 (patch)
tree7f3d61c4ede74c2b27cb182a3cbee639c3fc70d0 /package/base-files/files/etc/diag.sh
parentf3a456e5f1f4f956e24a984d07cca95435ce79ff (diff)
downloadupstream-9b24e8bb6daa71abe94d49390ef826bfd8806839.tar.gz
upstream-9b24e8bb6daa71abe94d49390ef826bfd8806839.tar.bz2
upstream-9b24e8bb6daa71abe94d49390ef826bfd8806839.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35648 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/diag.sh')
0 files changed, 0 insertions, 0 deletions