summaryrefslogtreecommitdiff
path: root/sys-power/radeon-profile/files/org.redcorelinux.radeon-profile.policy
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/radeon-profile/files/org.redcorelinux.radeon-profile.policy')
-rw-r--r--sys-power/radeon-profile/files/org.redcorelinux.radeon-profile.policy22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-power/radeon-profile/files/org.redcorelinux.radeon-profile.policy b/sys-power/radeon-profile/files/org.redcorelinux.radeon-profile.policy
new file mode 100644
index 00000000..700b1030
--- /dev/null
+++ b/sys-power/radeon-profile/files/org.redcorelinux.radeon-profile.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>Redcore Linux</vendor>
+ <vendor_url>http://redcorelinux.org</vendor_url>
+
+ <action id="org.redcorelinux.radeon.pkexec.run">
+ <description>Run Radeon Profile</description>
+ <message>Authentication is required to run Radeon Profile</message>
+ <icon_name>redcore-logo</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/radeon-profile</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>