[CentOS] rc.local

2008-08-31 Thread Ric Moore
I note that there are two 'rc.local' files. One is in /etc and the other
in /etc/rc.d   Which has precedence and is the one to use? Thanks, Ric


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rc.local

2008-08-31 Thread Ian Blackwell
Ric Moore wrote:
 I note that there are two 'rc.local' files. One is in /etc and the other
 in /etc/rc.d   Which has precedence and is the one to use? Thanks, Ric


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

   
Hi Ric,

You'll find one is a link to the other, so you really only have one file
on disk.

Ian


smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rc.local

2008-08-31 Thread Spiro Harvey, Knossos Networks Ltd

Ric Moore wrote:

I note that there are two 'rc.local' files. One is in /etc and the other
in /etc/rc.d   Which has precedence and is the one to use? Thanks, Ric



if you do an 'ls -lad /etc/rc.local', what do you get?

Mine's a symlink to rc.d/rc.local. The rc.d directory is where the 
startup stuff should all be for the bootup scripts. I don't know why one 
would be in etc, but if you've got two separate files, the one in /etc 
is probably going to be ignored (at least I would hope so).




--
Spiro Harvey  Knossos Networks Ltd
021-295-1923www.knossos.net.nz

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rc.local

2008-08-31 Thread Ric Moore

On Mon, 2008-09-01 at 10:53 +1200, Spiro Harvey, Knossos Networks Ltd
wrote:
 Ric Moore wrote:
  I note that there are two 'rc.local' files. One is in /etc and the other
  in /etc/rc.d   Which has precedence and is the one to use? Thanks, Ric
 
 
 if you do an 'ls -lad /etc/rc.local', what do you get?

Correct! Whew! I didn't notice that it was a link. Thanks, Ric


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos