rc.local not executing commands

R Kimber richardkimber at btinternet.com
Thu Nov 5 16:43:52 UTC 2015


On Thu, 5 Nov 2015 17:03:06 +0100
Tom H wrote:

> On Thu, Nov 5, 2015 at 3:26 PM, R Kimber <richardkimber at btinternet.com>
> wrote:
> > On Thu, 5 Nov 2015 15:08:37 +0100
> > Tom H wrote:
> >>>
> >> > and the command
> >> >      sudo /usr/bin/cpufreq-set -u 4.0Ghz
> >> > works fine from the command line.
> >>
> >> Does it work without sudo?
> >
> >  But stuff in rc.local should be run as root.
> 
> That's why I suggested removing "sudo".

I wasn't using sudo in the rc.local file - only on the command line.

- Richard.
-- 
Richard Kimber





More information about the ubuntu-users mailing list