rc.local not executing commands

Oliver Grawert ogra at ubuntu.com
Thu Nov 5 14:50:28 UTC 2015


hi,
Am Donnerstag, den 05.11.2015, 13:40 +0000 schrieb R Kimber:
> What do I need to do to get a command (cpufreq-set) in rc.local to be
> executed ?
> 
> rc.local is itself executable:
> -rwxr-xr-x 1 root root 348 Nov  5 13:27 /etc/rc.local
> 
> and the command
>      sudo /usr/bin/cpufreq-set -u 4.0Ghz
> works fine from the command line.
> 
> Is this a bug? Or is there some piece of configuration I need to fix?
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 ...

ciao
	oli




More information about the ubuntu-users mailing list