]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/initscripts/system/collectd
unbound: Drop certificates for local control connection
[ipfire-2.x.git] / src / initscripts / system / collectd
index de52617a5d8f8d2291bfb70c5094c59d4ee579f7..cdb8693ae5befed228d86b9ce21a4a275833292e 100644 (file)
@@ -92,7 +92,7 @@ case "$1" in
                fi
 
                # Enable cpufreq plugin if cpufreq found
-               if [ ! -e  /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq ]; then
+               if [ ! -e  /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq ]; then
                        sed -i -e "s|^LoadPlugin cpufreq|#LoadPlugin cpufreq|g" /etc/collectd.conf
                else
                        sed -i -e "s|^#LoadPlugin cpufreq|LoadPlugin cpufreq|g" /etc/collectd.conf