summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-07 21:08:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-07 21:08:05 +0000
commit1aa774053b597fba2b4ea46c43146490220d45ab (patch)
treefe4ae8ab14c57a55e96ff1e0a7656645d4b2c144 /package
parentd65fe30d9bf962556d583b0058b4cacbb1aafe89 (diff)
downloadmtk-20170518-1aa774053b597fba2b4ea46c43146490220d45ab.zip
mtk-20170518-1aa774053b597fba2b4ea46c43146490220d45ab.tar.gz
mtk-20170518-1aa774053b597fba2b4ea46c43146490220d45ab.tar.bz2
openvpn: added service_triggers() to init script
Follow up of #21469 This patch enables autoreloading openvpn via procd. Signed-off-by: Federico Capoano <nemesis@ninux.org> SVN-Revision: 48150
Diffstat (limited to 'package')
-rw-r--r--package/network/services/openvpn/files/openvpn.init4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init
index 994973b..342e5d8 100644
--- 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
+}