From: Thomas Petazzoni Date: Sun, 30 Nov 2014 14:18:12 +0000 (+0100) Subject: openvpn: use _INSTALL_INIT_SYSV mechanism X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b7b3f50a7273a4e5e819d3bdb123e16e1cea710;p=buildroot.git openvpn: use _INSTALL_INIT_SYSV mechanism Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- 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