summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/privilege.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/vpn/privilege.py')
-rw-r--r--src/leap/bitmask/vpn/privilege.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/privilege.py b/src/leap/bitmask/vpn/privilege.py
index e8ed5576..097f5f8a 100644
--- a/src/leap/bitmask/vpn/privilege.py
+++ b/src/leap/bitmask/vpn/privilege.py
@@ -37,6 +37,14 @@ logger = Logger()
flags_STANDALONE = False
+def install_helpers():
+ commands.getoutput('pkexec bitmask_helpers install')
+
+
+def uninstall_helpers():
+ commands.getoutput('pkexec bitmask_helpers uninstall')
+
+
class NoPolkitAuthAgentAvailable(Exception):
pass