summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-08-12 18:32:50 +0200
committerKali Kaneko <kali@leap.se>2013-08-12 18:32:50 +0200
commit25f09f2fb9031a3f7cdf1d960f47fd52fe08a064 (patch)
tree9a0262f34116563d363854608871d3e05ae79d24 /src/leap
parent00d98a47c60764475d97df1c2eb847e20a77cae5 (diff)
parentb008bf22e1ec2392be16830064fe538d69b8fe41 (diff)
Merge remote-tracking branch 'chiiph/bug/3271_load_tunkext' into develop
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/platform_init/initializers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/platform_init/initializers.py b/src/leap/platform_init/initializers.py
index 46488250..81fc002b 100644
--- a/src/leap/platform_init/initializers.py
+++ b/src/leap/platform_init/initializers.py
@@ -223,8 +223,8 @@ def _darwin_has_tun_kext():
"""
# XXX we should be smarter here and use kextstats output.
- has_kext = os.path.isdir("/System/Library/Extensions/tun.kext")
- has_startup = os.path.isdir("/System/Library/StartupItems/tun")
+ has_kext = os.path.isdir("/Library/Extensions/tun.kext")
+ has_startup = os.path.isdir("/Library/StartupItems/tun")
has_tun_and_startup = has_kext and has_startup
logger.debug(
'platform initializer check: has tun_and_startup = %s' %