summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/connman/connman.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 6b5ea0b17b..37ce3ec7bb 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -56,6 +56,14 @@ PACKAGECONFIG[wispr] = "--enable-wispr,--disable-wispr,gnutls,"
56INITSCRIPT_NAME = "connman" 56INITSCRIPT_NAME = "connman"
57INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ." 57INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."
58 58
59python __anonymous () {
60 systemd_packages = "${PN}"
61 pkgconfig = d.getVar('PACKAGECONFIG', True)
62 if ('openvpn' or 'vpnc' or 'l2tp' or 'pptp') in pkgconfig.split():
63 systemd_packages += " ${PN}-vpn"
64 d.setVar('SYSTEMD_PACKAGES', systemd_packages)
65}
66
59SYSTEMD_SERVICE_${PN} = "connman.service" 67SYSTEMD_SERVICE_${PN} = "connman.service"
60SYSTEMD_SERVICE_${PN}-vpn = "connman-vpn.service" 68SYSTEMD_SERVICE_${PN}-vpn = "connman-vpn.service"
61SYSTEMD_WIRED_SETUP = "ExecStartPre=-${libdir}/connman/wired-setup" 69SYSTEMD_WIRED_SETUP = "ExecStartPre=-${libdir}/connman/wired-setup"