CPU Underclocking doesn't work after reboot

Hi,

I'd like to permanently restrict the cpu frequency. I can do it by running
Code:
sysctl dev.cpu.0.freq=995
command as root. It works, and could be checked by command
Code:
sysctl dev.cpu.0.freq
, it shows that cpu frequency is set to 995.
The problem is that I can't set it permanently (to work after reboot). I've ran following command (as root):
Code:
echo sysctl dev.cpu.0.freq=995 >> /etc/sysctl.conf
which should set it permanently, but after reboot command
Code:
sysctl dev.cpu.0.freq
shows maxiumum possible frequency, not the 995Mhz. Is there's something I've forgotten about?
 
You don't put the sysctl command into /etc/sysctl.conf. Just the name of the sysctl to change, and the value to set it to.

Read the comments and examples in that file. Or even the sysctl.conf(5) man page.
 
Back
Top