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@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
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).
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