From 2b7b3f50a7273a4e5e819d3bdb123e16e1cea710 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Nov 2014 15:18:12 +0100 Subject: [PATCH] openvpn: use _INSTALL_INIT_SYSV mechanism Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/openvpn/openvpn.mk | 3 +++ 1 file changed, 3 insertions(+) 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