On my Gentoo notebook, stopping cpufreqd fails:
# /etc/init.d/cpufreqd stop * Stopping CPU Frequency Daemon ... [ !! ]
It seems that start-stop-daemon fails to terminate the cpufreqd processes, so let’s help it a bit. Simply add the following bold line to the stop() function in your /etc/init.d/cpufreqd script
stop() {
ebegin "Stopping CPU Frequency Daemon"
kill -9 `ps -A | grep cpufreqd | sort -n | head -n 1 | awk ‘{print $1}’`
start-stop-daemon –stop –exec /usr/sbin/cpufreqd
eend ${?}
}
Now cpufreqd should shut down nicely:
# /etc/init.d/cpufreqd stop * Stopping CPU Frequency Daemon ... [ ok ]
Hey, nice tip. It is a shame that cpufreqd is still broken. well this will do the fix in the mean time. Nice thing this wordpress. I think i will implement it on my own website.
see ya