base-files: gpio_switch: start before boot state done is set
authorMathias Kresin <dev@kresin.me>
Thu, 21 Dec 2017 08:44:53 +0000 (09:44 +0100)
committerMathias Kresin <dev@kresin.me>
Tue, 9 Jan 2018 21:05:46 +0000 (22:05 +0100)
commitff874b656beb87e3ad0f2cba3f325b1bf51a6b90
tree62f5631d1abe2309b617b06f0a82d9a115a1e546
parent82cc4399765f0b9bd15cedae453d6f84c3f46393
base-files: gpio_switch: start before boot state done is set

Start gpio_switch before the boot state is set to up/initialised/done.
This way the exported GPIOs are available at the time rc.local is started.

Signed-off-by: Mathias Kresin <dev@kresin.me>
package/base-files/files/etc/init.d/gpio_switch