diff options
Diffstat (limited to 'community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy')
-rw-r--r-- | community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy | 19 |
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..b71db7904 --- /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.elf</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> + +</policyconfig> |