[LEDE-DEV] [PATCH 1/2] base-files: gpio_switch: start before boot state done is set
Mathias Kresin
dev at kresin.me
Wed Dec 27 03:00:20 PST 2017
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.
Cc: Lars Kruse <lists at sumpfralle.de>
Signed-off-by: Mathias Kresin <dev at kresin.me>
---
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 1f1b44b..5a62be9 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.7.4
More information about the Lede-dev
mailing list