/etc/rc.local not running contents on boot

Oliver Grawert ogra at ubuntu.com
Mon Jul 20 07:06:31 UTC 2009


hi,
On So, 2009-07-19 at 23:42 -0700, Admin wrote:
> Rashkae wrote:
> > Admin wrote:
> >> Hi there,
> >>
> >> I am finding that the contents of /etc/rc.local are not getting executed 
> >> at reboot time.  I am trying to figure out why.  When I run 
> >> /etc/rc.local as root things run fine.  What is going on here?
> >>
...
> How do I check the start-up scripts Process please?
...

i would guess one of your scripts simply dies ...

add a:

echo "return value for ...: $?"

below every script call (probably adding the name of the command above
it) for any of your lines in rc.local (the $? variable automatically
carries the return value of the last run command in a shellscript)

ciao
	oli


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090720/13bdaa70/attachment.sig>


More information about the ubuntu-users mailing list