base-files: maintain LED config state
authorJo-Philipp Wich <jo@mein.io>
Wed, 8 Jun 2016 08:14:27 +0000 (10:14 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 8 Jun 2016 08:34:50 +0000 (10:34 +0200)
commit35b33f0413c9f6a263549d63b2b068d74543d876
tree54050e056169759a493252f398e89f8711a521a9
parent98d418e05f0bf488b14adabffe6db200b7394a1c
base-files: maintain LED config state

Record the state of any hardware LED configured through UCI and use that
information to revert the state when applying updated settings while
maintaining default behaviour of system LEDs.

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