base-files: reset LED state
authorJo-Philipp Wich <jo@mein.io>
Tue, 7 Jun 2016 20:58:22 +0000 (22:58 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 7 Jun 2016 21:01:58 +0000 (23:01 +0200)
commit33a4d22f4cc76ef8e8eed19d3db1fd49a7937aaf
tree534ea281f237ca6bbc85ad7893ef2c6f44a4db37
parent21ad25f5478a6cfe9078930b3e42ff7af938144d
base-files: reset LED state

Attempt to reset all LED states before applying the UCI configuration to
avoid leaving disabled LEDs behind in lingering glowing state, e.g. when
changing the sysfs entry in the config from one hardware LED to another.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/base-files/files/etc/init.d/led