summaryrefslogtreecommitdiff
path: root/sys-boot/unetbootin-static/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-10-15 17:54:04 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-10-15 17:54:04 +0100
commit83867871b78c0a25c6e7c90ff8bece10afce3b93 (patch)
tree6da872da1f65a18fc386fe8170d34efe64d799cf /sys-boot/unetbootin-static/files
parent97f2aff61729557c98c72439432242c30e3d0a6b (diff)
add policykit rule
Diffstat (limited to 'sys-boot/unetbootin-static/files')
-rw-r--r--sys-boot/unetbootin-static/files/ro.kogaion.unetbootin-static.policy22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-boot/unetbootin-static/files/ro.kogaion.unetbootin-static.policy b/sys-boot/unetbootin-static/files/ro.kogaion.unetbootin-static.policy
new file mode 100644
index 00000000..9130ed94
--- /dev/null
+++ b/sys-boot/unetbootin-static/files/ro.kogaion.unetbootin-static.policy
@@ -0,0 +1,22 @@
+<?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>Kogaion</vendor>
+ <vendor_url>http://rogentos.ro</vendor_url>
+
+ <action id="ro.kogaion.sisyphus.pkexec.run">
+ <description>Run Sisyphus</description>
+ <message>Authentication is required to run Unetbootin</message>
+ <icon_name>drive-harddisk</icon_name>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/unetbootin-static-625</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>