diff options
author | Kali Kaneko <kali@leap.se> | 2017-06-08 15:36:37 -0700 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2017-06-12 18:13:20 +0200 |
commit | 739facb24e1fe8bbcdaca219c9d831c90c999f54 (patch) | |
tree | c792cdafcef24ea5f294016e0ae519489f2fb04a /src/leap | |
parent | a003e13cec2c44160b46047d0fee8d52dfc6253f (diff) |
[bug] make openvpn and firewall able to launch
with these fixes, I'm able to finally launch openvpn and firewall on
osx. :)
all that's left for a minimum vpn release is packaging and installing
all the helpers in the proper place.
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/bitmask/vpn/helpers/__init__.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/helpers/__init__.py b/src/leap/bitmask/vpn/helpers/__init__.py index f57bd7f..719fc5e 100644 --- a/src/leap/bitmask/vpn/helpers/__init__.py +++ b/src/leap/bitmask/vpn/helpers/__init__.py @@ -3,7 +3,7 @@ from shutil import copyfile import os.path import sys -from leap.bitmask.vpn.constants import IS_LINUX +from leap.bitmask.vpn.constants import IS_LINUX, IS_MAC from leap.bitmask.vpn import _config from leap.bitmask.util import STANDALONE @@ -37,6 +37,12 @@ if IS_LINUX: polkit = os.path.exists(polkit_to) return helper and polkit +if IS_MAC: + + def check(): + # XXX check if bitmask-helper is running + return True + def main(): if sys.argv[-1] == 'install': |