[ILUG] Back to basics - rc.local
Rick Moen
rick at linuxmafia.com
Wed Jan 23 15:09:37 GMT 2002
Quoting Declan Grady (Declan.Grady at nuvotem.com):
> I'm using redhat 7.0, so should I have start/stop scripts somewhere ?
Under /etc/rc.d/ . (The "rc.d" level is a non-standard RedHat-ism.)
The scripts themselves live in /etc/rc.d/init.d/ Symlinks for each
runlevel point to that directory from /etc/rc.d/rcN.d/, where N is the
runlevel number.
If you rummage through the /etc/rc.d/rc script, you'll see how it all
works.
> .. which brings another question .. did I need to reboot, or could I simply
> have changed runlevels, or is there a difference. - Considering I'm using a
> headless box and ssh
Rule of thumb for a *ix box is that, if you have to reboot to do routine
administration of any kind other than switching kernels, you've usually
missed something.
--
Cheers,
Rick Moen "vi is my shepherd; I shall not font."
rick at linuxmafia.com -- Psalm 0.1 beta
More information about the ILUG
mailing list