[Linux-disciples] Where to put startup instructions
Adam Rosi-Kessel
adam at rosi-kessel.org
Sun May 8 11:25:59 EDT 2005
On Sat, May 07, 2005 at 07:32:57PM -0400, Stephen R Laniel wrote:
> /etc/rc.d is a Red Hat thing. Under Debian, what's the
> recommended place to put that instruction?
http://www.debian.org/doc/FAQ/ch-customizing.en.html
10.5 Every distribution seems to have a different boot-up method. Tell
me about Debian's.
Like all Unices, Debian boots up by executing the program init. The
configuration file for init (which is /etc/inittab) specifies that the
first script to be executed should be /etc/init.d/rcS. This script runs
all of the scripts in /etc/rcS.d/ by sourcing or forking subprocess
depending on their file extension to perform initialization such as to
check and to mount file systems, to load modules, to start the network
services, to set the clock, and to perform other initialization. Then,
for compatibility, it runs the files (except those with a `.'in the
filename) in /etc/rc.boot/ too. Any scripts in the latter directory are
usually reserved for system administrator use, and using them in
packages is deprecated.
[...]
So my guess would be put it in /etc/rcS.d, but I don't know if that is
"canonical."
--
Adam Rosi-Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050508/a3ec5ff6/attachment.pgp
More information about the Linux-disciples
mailing list