summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/vpn/_config.py')
-rw-r--r--src/leap/bitmask/vpn/_config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/_config.py b/src/leap/bitmask/vpn/_config.py
index 421d15a6..5bb61e78 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