summarylogtreecommitdiffstats
path: root/policy.patch
blob: bce58090798288400c3e208e7e61c1ec3e8b4b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- src/cpupower-8/mko.cpupower.policy.in	2017-02-25 18:01:09.000000000 +0100
+++ cpufreqctl.policy	2020-01-15 00:22:32.619348148 +0100
@@ -6,7 +6,7 @@
         <vendor>MKO Systems</vendor>
         <vendor_url>http://mko-sl.de</vendor_url>
 
-        <action id="mko.cpupower.setcpufreq">
+        <action id="cpufreqctl.setcpufreq">
                 <description>Set a new CPU Frequency to intel_pstate</description>
                 <description xml:lang="de">Neue CPU-Frequenzgrenzen an intel_pstate senden</description>
                 <message>No Authorization required to set frequency bounds.</message>
@@ -16,7 +16,8 @@
                         <allow_inactive>yes</allow_inactive>
                         <allow_active>yes</allow_active>
                 </defaults>
-                <annotate key="org.freedesktop.policykit.exec.path">xxxPATHxxx</annotate>
+                <annotate key="org.freedesktop.policykit.exec.path">/bin/bash</annotate>
+                <annotate key="org.freedesktop.policykit.exec.argv1">/usr/bin/cpufreqctl</annotate>
         </action>
 
 </policyconfig>