aboutsummaryrefslogtreecommitdiff
path: root/package/openvpn
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-30 15:18:12 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-12-01 23:06:01 +0100
commit2b7b3f50a7273a4e5e819d3bdb123e16e1cea710 (patch)
tree344056d7536489342a325e0f13ca69e1ae651b13 /package/openvpn
parentac1c9a2af8bea0a5b5604fdff26a70f363a64fc0 (diff)
downloadbuildroot-2b7b3f50a7273a4e5e819d3bdb123e16e1cea710.tar.gz
buildroot-2b7b3f50a7273a4e5e819d3bdb123e16e1cea710.tar.bz2
openvpn: use <pkg>_INSTALL_INIT_SYSV mechanism
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/openvpn')
-rw-r--r--package/openvpn/openvpn.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk
index e0dba3554a..68f7d97a18 100644
--- a/package/openvpn/openvpn.mk
+++ b/package/openvpn/openvpn.mk
@@ -50,6 +50,9 @@ endif
define OPENVPN_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 $(@D)/src/openvpn/openvpn \
$(TARGET_DIR)/usr/sbin/openvpn
+endef
+
+define OPENVPN_INSTALL_INIT_SYSV
$(INSTALL) -m 755 -D package/openvpn/S60openvpn \
$(TARGET_DIR)/etc/init.d/S60openvpn
endef