/etc/rc.local does not run at boot

Bruce Marshall bmarsh at bmarsh.com
Sun Feb 14 18:25:20 UTC 2010


On Sunday 14 February 2010, Larry Alkoff wrote:
> How can I force /etc/init.d to run /etc/rc.local when my 8.04 LTS
> machine boots?

I've been looking into this too....  but it appears to work.

I'm running karmic....

The file /etc/rc.local  must be executable.

Any in rc.local to run must be specified with a full path...  as in any 
script.


Try this:

Put in your /etc/rc.local   the line:

  echo "  RUNNING RC.LOCAL"    >  /etc/run-rclocal

and then reboot.   You should find the file /etc/run-rclocal   in  /etc/

I did  and it had the time of my re-boot as the creation time.




More information about the kubuntu-users mailing list