diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2017-05-16 22:54:21 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-05-22 12:56:20 +0200 |
commit | ca6f399c045d5caa21835f762cde877bf2b80ad6 (patch) | |
tree | f7ce41b5056943d9cf1ad02b7f5dd24f23795ce8 /src/leap/bitmask/vpn/_config.py | |
parent | 75debc78584681071685e17ae4c596662eeae3af (diff) |
[pkg] install and use static openvpn from bundle
Diffstat (limited to 'src/leap/bitmask/vpn/_config.py')
-rw-r--r-- | src/leap/bitmask/vpn/_config.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/_config.py b/src/leap/bitmask/vpn/_config.py index 421d15a..5bb61e7 100644 --- a/src/leap/bitmask/vpn/_config.py +++ b/src/leap/bitmask/vpn/_config.py @@ -22,6 +22,12 @@ if IS_LINUX: return pkg_resources.resource_filename( 'leap.bitmask.vpn.helpers.linux', 'se.leap.bitmask.bundle.policy') + def get_bitmask_openvpn_path(): + if STANDALONE: + return os.path.join(here(), "..", "apps", "vpn", + "openvpn.leap") + # else nothing, we're only shipping the openvpn binary with bundles + class _TempVPNConfig(object): """Current VPN code on bitmask depends on VPNConfig object, this temporary |