rc.local not executing commands
richardkimber at btinternet.com
Thu Nov 5 14:24:17 UTC 2015
On Thu, 5 Nov 2015 14:57:40 +0100
silver.bullet at zoho.com wrote:
> You did not mention what Ubuntu you are using, resp. what startup
> process your Ubuntu does use.
Sorry it's 15.04 ubuntu mate
> If you're using systemd, then use an unit, to
> write a file named
> with this content:
> ExecStart=/usr/bin/cpufreq-set -u 4.0Ghz
> then run
> sudo -i
> systemctl start cpu_freq_scaling
> systemctl enable cpu_freq_scaling
Thanks. I can see that there are various ways one might have the command
executed. But rc.local ought to work surely? It says:
# This script is executed at the end of each multiuser runlevel.
It's really irritating when a simple method of doing something doesn't
work. Is it a bug?
More information about the ubuntu-users