summaryrefslogtreecommitdiff
path: root/community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-30 12:20:50 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-30 12:20:50 -0300
commitf945a6a14843dcca046e22f28d0cb0ca75fe27de (patch)
tree128fd26fe2a604e6f5d3d6105da06610332d524a /community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy
parent14995c4581e56e6540a9c89074623e73b9f1fc49 (diff)
parentdba5b0127d9f00a13c489f0f5893481cbe7d429b (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/avifile/PKGBUILD community/drbd/PKGBUILD extra/feh/PKGBUILD extra/samba/PKGBUILD libre/syslinux/PKGBUILD social/batctl/PKGBUILD
Diffstat (limited to 'community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy')
-rw-r--r--community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy b/community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy
new file mode 100644
index 000000000..fb985df87
--- /dev/null
+++ b/community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy
@@ -0,0 +1,19 @@
+<?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>
+
+ <action id="org.archlinux.pkexec.gsmartcontrol">
+ <message>Authentication is required to run the gsmartcontrol</message>
+ <icon_name>gsmartcontrol</icon_name>
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/gsmartcontrol</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+
+</policyconfig>