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)
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

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