Ubuntu – How to restore the cpu frequency defaults or to align the frequency at will

command linecpufrequency

I really new at ubuntu and linux so i am not capable of understand the following:

usage: 

     update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | SS KK]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
       update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
        -n: not really
        -f: force

So, how is the right command to restore the cpu frequency defaults or
to align the frequency at will?

This is because I installed TLP and used

sudo update-rc.d -f ondemand remove

but it turned out that the heating increased comparing TLP without the remove.

Can anyone help?

Best Answer

sudo update-rc.d ondemand defaults will make the ondemand script start on every boot.

This entry explains how to change the default frequency scaling governor.

Related Question