rc.local not executing commands
richardkimber at btinternet.com
Thu Nov 5 16:51:42 UTC 2015
On Thu, 5 Nov 2015 16:04:08 +0100
silver.bullet at zoho.com wrote:
> 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. However, after disabling it, I still recommend to use a
> systemd unit.
# This script is executed at the end of each multiuser runlevel.
Does this not mean that rc.local is the last thing to be run ?
Would that not overrride /etc/init.d/ondemand ?
More information about the ubuntu-users