LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: Anthony Rumble <anthony@rumble.waratah.id.au>
To : Peter McCarthy <mccarthy@mail.austasia.net>
Date: Tue, 29 Jul 1997 10:07:17 +1000 (EST)
Re: [SLUG] init scripts
> Hi how do the damn init scripts in Red Hat work. My goal is to get =
> named running. It apears in the rc.initd dir but what is the mechanism =
> to get it off the ground at boot ?
It's pretty simple.
It's based on the SYSV model
/etc/rc.d/init.d contains the actual scripts
/etc/rc.d/rc3.d contains SYM links to the init.d scripts
The way it's named has meaning..
For example...
S90inet
The Capital S means Start. 90 is a number that is used to specify
the order there executed in.. then a name so you know what it is.
What the init daemon does, is as it goes into a run level.. it starts at
the lowest number.. and if it's an S it will run that script with the
command line "start". If the letter is a K, it runs it with
the command level "Stop". (K stands for Kill)
Thats pretty much it.. A common way of disabling a service is to change the
capital S to a small s
--
Anthony Rumble - aka SmilieZ
Mobile 015-955-042 Pager 016-634-997
Interactive Infotainment Systems Pty. Ltd.
PERL CGI HTTP HTML Linux Unix Firewalls Web Servers
Home Page/PGP key http://www.infotainment.com.au/
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page