aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-12-21 09:44:53 +0100
committerMathias Kresin <dev@kresin.me>2018-01-09 22:05:46 +0100
commitff874b656beb87e3ad0f2cba3f325b1bf51a6b90 (patch)
tree62f5631d1abe2309b617b06f0a82d9a115a1e546 /package/base-files/files/etc
parent82cc4399765f0b9bd15cedae453d6f84c3f46393 (diff)
downloadupstream-ff874b656beb87e3ad0f2cba3f325b1bf51a6b90.tar.gz
upstream-ff874b656beb87e3ad0f2cba3f325b1bf51a6b90.tar.bz2
upstream-ff874b656beb87e3ad0f2cba3f325b1bf51a6b90.zip
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>
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/init.d/gpio_switch2
1 files changed, 1 insertions, 1 deletions
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