locating boot scripts (multiplatform install) - how? 

Newsgroups: comp.os.linux.setup
Date: Wed, 27 Nov 2002 00:06:58 GMT
> I'm trying to find a generic way to put my boot script in the right
> place.  I've read & googled but must be missing something.  How does
> init know where to find the boot scripts?
>
> E.g.
> - on Debian systems, the initialization script is /etc/init.d/rcS,
> - on Red Hat, /etc/rc.d/rc.sysinit.
> - on SuSE older versions /sbin/init.d/rc newer /etc/init.d/rc  (??)
> - on Slackware (BSD-based init) /etc/rc.d/rc.S

I'll add Mandrake /etc/rc.d/init.d with links from the /etc/rc.d/rcX.d directories

locating boot scripts (multiplatform install) - how? 

> I'm trying to find a generic way to put my boot script in the right
> place.  I've read & googled but must be missing something.  How does
> init know where to find the boot scripts?

"man init" describes the operation of init in detail. Most of the magic begins in /etc/inittab file. There are no doubt several incompatibilites between different Linux distributions regarding the actions launched by /etc/inittab. However, many popular Linux distributions are aiming to produce distributions that conform to the Linux Standard Base. So you may want to browse through the following pages, for example:

http://www.linuxbase.org/spec/gLSB/gLSB/sysinit.html

CrayzeeWulf