summaryrefslogtreecommitdiff
path: root/pkg/linux/polkit
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-03-07 19:38:42 -0300
committerTomás Touceda <chiiph@leap.se>2013-03-07 19:38:42 -0300
commitcaba70c5cee5e772761f9bbb2e4a9c5beab0be1e (patch)
treebd84e639c317904854773d250fce3cc42fb5a52f /pkg/linux/polkit
parent751638b4eb8208e1eaa1beaaed284da6b412bca7 (diff)
Add setup script and linux distribution files
Diffstat (limited to 'pkg/linux/polkit')
-rw-r--r--pkg/linux/polkit/net.openvpn.gui.leap.policy23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkg/linux/polkit/net.openvpn.gui.leap.policy b/pkg/linux/polkit/net.openvpn.gui.leap.policy
new file mode 100644
index 00000000..50f991a3
--- /dev/null
+++ b/pkg/linux/polkit/net.openvpn.gui.leap.policy
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
+<policyconfig>
+
+ <vendor>LEAP Project</vendor>
+ <vendor_url>http://leap.se/</vendor_url>
+
+ <action id="net.openvpn,gui.leap.run-openvpn">
+ <description>Runs the openvpn binary</description>
+ <description xml:lang="es">Ejecuta el binario openvpn</description>
+ <message>OpenVPN needs that you authenticate to start</message>
+ <message xml:lang="es">OpenVPN necesita autorizacion para comenzar</message>
+ <icon_name>package-x-generic</icon_name>
+ <defaults>
+ <allow_any>yes</allow_any>
+ <allow_inactive>yes</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/openvpn</annotate>
+ </action>
+</policyconfig>