summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
OpenPOWER on IntegriCloud