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
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 at 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3617 bytes Desc: S/MIME Cryptographic Signature URL: <http://lists.centos.org/pipermail/centos/attachments/20080901/d5879528/attachment-0005.bin>
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, Ricif 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-1923 www.knossos.net.nz