projects
/
openwrt
/
staging
/
981213.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82cc439
)
base-files: gpio_switch: start before boot state done is set
author
Mathias Kresin
<dev@kresin.me>
Thu, 21 Dec 2017 08:44:53 +0000
(09:44 +0100)
committer
Mathias 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
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/gpio_switch
b/package/base-files/files/etc/init.d/gpio_switch
index 1f1b44b2129ce2315943f6a10508eefb66412c48..5a62be94ccbe76d17e5f1c8e852b200cded3c4ee 100755
(executable)
--- 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=9
8
+START=9
4
STOP=10
USE_PROCD=1