summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-10-08 10:32:28 -0700
committerKhem Raj <raj.khem@gmail.com>2018-10-08 10:48:17 -0700
commitf818700c23eefee21c8d15cc2ee81b35975308ae (patch)
tree8e4609ec6bc0527f53c4537b909433f969cec2a1 /meta-networking
parent2d842ee7a3d0f38ca9735246b694c5093e8130d7 (diff)
downloadmeta-openembedded-f818700c23eefee21c8d15cc2ee81b35975308ae.tar.gz
openvpn: enable sysvinit
add INITSCRIPT Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/openvpn/openvpn_2.4.4.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.4.4.bb b/meta-networking/recipes-support/openvpn/openvpn_2.4.4.bb
index 4cad99869..a839ab768 100644
--- a/meta-networking/recipes-support/openvpn/openvpn_2.4.4.bb
+++ b/meta-networking/recipes-support/openvpn/openvpn_2.4.4.bb
@@ -5,7 +5,7 @@ LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=e9b64491ec98eb6c6493ac5e4118f107" 5LIC_FILES_CHKSUM = "file://COPYING;md5=e9b64491ec98eb6c6493ac5e4118f107"
6DEPENDS = "lzo openssl iproute2 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" 6DEPENDS = "lzo openssl iproute2 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
7 7
8inherit autotools systemd 8inherit autotools systemd update-rc.d
9 9
10SRC_URI = "http://swupdate.openvpn.org/community/releases/${BP}.tar.gz \ 10SRC_URI = "http://swupdate.openvpn.org/community/releases/${BP}.tar.gz \
11 file://openvpn \ 11 file://openvpn \
@@ -18,6 +18,10 @@ SRC_URI[sha256sum] = "1ae883d9522c9fa6d189e5e4aaa058a93edd3d0b897e3c2664107c4785
18SYSTEMD_SERVICE_${PN} += "openvpn@loopback-server.service openvpn@loopback-client.service" 18SYSTEMD_SERVICE_${PN} += "openvpn@loopback-server.service openvpn@loopback-client.service"
19SYSTEMD_AUTO_ENABLE = "disable" 19SYSTEMD_AUTO_ENABLE = "disable"
20 20
21INITSCRIPT_PACKAGES = "${PN}"
22INITSCRIPT_NAME_${PN} = "openvpn"
23INITSCRIPT_PARAMS_${PN} = "start 10 2 3 4 5 . stop 70 0 1 6 ."
24
21CFLAGS += "-fno-inline" 25CFLAGS += "-fno-inline"
22 26
23# I want openvpn to be able to read password from file (hrw) 27# I want openvpn to be able to read password from file (hrw)