/etc/rc.local doesn't run at boot

Nils Kassube kassube at gmx.net
Tue Mar 2 14:40:31 UTC 2010


Larry Alkoff wrote:
> When I boot the machine, /etc/rc.local doesn't run.
> 
> root at arriba /etc/init.d# ls -l /etc/rc.local
> -rwxr-xr-x 1 root root 3.2K 2010-02-14 18:31 /etc/rc.local
> 
> root at arriba /etc/init.d# ls -l /etc/init.d/rc.local
> -rwxr-xr-x 1 root root 522 2009-01-23 09:01 /etc/init.d/rc.local
> 
> init.d/rc.local looks like this:

This file looks like the original /etc/init.d/rc.local. Do you know if 
/etc/init.d/rc.local is run at boot? And if yes, how do you know that 
/etc/rc.local isn't started? What is the contents of that script? Maybe 
it stops too early before your own code is run?


Nils




More information about the ubuntu-users mailing list