summaryrefslogtreecommitdiff
path: root/openvpn/openvpn_1.5.0.oe
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn/openvpn_1.5.0.oe')
-rw-r--r--openvpn/openvpn_1.5.0.oe8
1 files changed, 7 insertions, 1 deletions
diff --git a/openvpn/openvpn_1.5.0.oe b/openvpn/openvpn_1.5.0.oe
index 0693b1087f..97d6fa26bb 100644
--- a/openvpn/openvpn_1.5.0.oe
+++ b/openvpn/openvpn_1.5.0.oe
@@ -4,7 +4,13 @@ DEPENDS = "lzo openssl"
RDEPENDS = "kernel-module-tun"
PR = "r1"
-SRC_URI = "${SOURCEFORGE_MIRROR}/openvpn/openvpn-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/openvpn/openvpn-${PV}.tar.gz \
+ file://openvpn"
inherit autotools
+do_install_append() {
+ install -d ${D}/${sysconfdir}/init.d
+ install -d ${D}/${sysconfdir}/openvpn
+ install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d
+}