diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-10-08 10:32:28 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-10-08 10:48:17 -0700 |
commit | f818700c23eefee21c8d15cc2ee81b35975308ae (patch) | |
tree | 8e4609ec6bc0527f53c4537b909433f969cec2a1 /meta-networking | |
parent | 2d842ee7a3d0f38ca9735246b694c5093e8130d7 (diff) | |
download | meta-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.bb | 6 |
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" | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=e9b64491ec98eb6c6493ac5e4118f107" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=e9b64491ec98eb6c6493ac5e4118f107" |
6 | DEPENDS = "lzo openssl iproute2 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 6 | DEPENDS = "lzo openssl iproute2 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
7 | 7 | ||
8 | inherit autotools systemd | 8 | inherit autotools systemd update-rc.d |
9 | 9 | ||
10 | SRC_URI = "http://swupdate.openvpn.org/community/releases/${BP}.tar.gz \ | 10 | SRC_URI = "http://swupdate.openvpn.org/community/releases/${BP}.tar.gz \ |
11 | file://openvpn \ | 11 | file://openvpn \ |
@@ -18,6 +18,10 @@ SRC_URI[sha256sum] = "1ae883d9522c9fa6d189e5e4aaa058a93edd3d0b897e3c2664107c4785 | |||
18 | SYSTEMD_SERVICE_${PN} += "openvpn@loopback-server.service openvpn@loopback-client.service" | 18 | SYSTEMD_SERVICE_${PN} += "openvpn@loopback-server.service openvpn@loopback-client.service" |
19 | SYSTEMD_AUTO_ENABLE = "disable" | 19 | SYSTEMD_AUTO_ENABLE = "disable" |
20 | 20 | ||
21 | INITSCRIPT_PACKAGES = "${PN}" | ||
22 | INITSCRIPT_NAME_${PN} = "openvpn" | ||
23 | INITSCRIPT_PARAMS_${PN} = "start 10 2 3 4 5 . stop 70 0 1 6 ." | ||
24 | |||
21 | CFLAGS += "-fno-inline" | 25 | CFLAGS += "-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) |