From ff874b656beb87e3ad0f2cba3f325b1bf51a6b90 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Thu, 21 Dec 2017 09:44:53 +0100 Subject: [PATCH] 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 --- package/base-files/files/etc/init.d/gpio_switch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1