rc.local not executing commands

R Kimber richardkimber at btinternet.com
Thu Nov 5 19:46:02 UTC 2015


On Thu, 5 Nov 2015 18:11:46 +0100
silver.bullet at zoho.com wrote:

> On Thu, 05 Nov 2015 18:06:39 +0100, Oliver Grawert wrote:
> >hi,
> >Am Donnerstag, den 05.11.2015, 16:04 +0100 schrieb
> >silver.bullet at zoho.com:
> >> On Thu, 05 Nov 2015 15:50:28 +0100, Oliver Grawert wrote:   
> >> >how do you determine that it is not working, note that there is a
> >> >"ondemand" system job that enforces the ondemand governor after boot
> >> >(has a 60sec delay) which might set different cpufreq defaults after
> >> >your code ran ...  
> >> 
> >> So a race condition seemingly is caused by /etc/init.d/ondemand from
> >> http://packages.ubuntu.com/vivid/initscripts and the OP needs to
> >> disable it first.  
> >well, if you disable it your system is stuck with the performance
> >governor permanently ... probably not what you want ...
> 
> The OP wants to set the governor to his needs ;), so it is definitively
> what he wants :).

Actually, all I want to do is prevent the CPU running at greater than
4.0Ghz.  Would the answer be to put the command at the end of
/etc/init.d/ondemand ?

- Richard.
-- 
Richard Kimber





More information about the ubuntu-users mailing list