From: Mathias Kresin Date: Thu, 21 Dec 2017 08:44:53 +0000 (+0100) Subject: base-files: gpio_switch: start before boot state done is set X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ff874b656beb87e3ad0f2cba3f325b1bf51a6b90;p=openwrt%2Fstaging%2Fldir.git 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 --- diff --git a/package/base-files/files/etc/init.d/gpio_switch b/package/base-files/files/etc/init.d/gpio_switch index 1f1b44b212..5a62be94cc 100755 --- a/package/base-files/files/etc/init.d/gpio_switch +++ b/package/base-files/files/etc/init.d/gpio_switch @@ -1,7 +1,7 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2015 OpenWrt.org -START=98 +START=94 STOP=10 USE_PROCD=1