the file cpuinfo_cur_freq does not exist on all systems that support collect
cpufreq data.
fixes #11739
etc/issue
etc/rc.d/helper/aws-setup
etc/rc.d/init.d/aws
+etc/rc.d/init.d/collectd
etc/rc.d/rcsysinit.d/S74aws
etc/sysctl.conf
srv/web/ipfire/cgi-bin/ids.cgi
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/cpufreq/policy0/*_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