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>
This commit is contained in:
Mathias Kresin 2017-12-21 09:44:53 +01:00
parent 82cc439976
commit ff874b656b

View file

@ -1,7 +1,7 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2015 OpenWrt.org # Copyright (C) 2015 OpenWrt.org
START=98 START=94
STOP=10 STOP=10
USE_PROCD=1 USE_PROCD=1