projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d65fe30
)
openvpn: added service_triggers() to init script
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 7 Jan 2016 21:08:05 +0000
(21:08 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 7 Jan 2016 21:08:05 +0000
(21:08 +0000)
Follow up of #21469
This patch enables autoreloading openvpn via procd.
Signed-off-by: Federico Capoano <nemesis@ninux.org>
SVN-Revision: 48150
package/network/services/openvpn/files/openvpn.init
patch
|
blob
|
history
diff --git
a/package/network/services/openvpn/files/openvpn.init
b/package/network/services/openvpn/files/openvpn.init
index 994973b7d97309806e3724e10249052fb5c214e5..342e5d8c70e54010d86fb35a39d217abaf49f818 100644
(file)
--- a/
package/network/services/openvpn/files/openvpn.init
+++ b/
package/network/services/openvpn/files/openvpn.init
@@
-152,3
+152,7
@@
start_service() {
fi
done
}
+
+service_triggers() {
+ procd_add_reload_trigger openvpn
+}