On RedHat the directory structure is as follows:
/etc/rc.d
/etc/rc.d/init.d
/etc/rc.d/rc0.d
/etc/rc.d/rc1.d
/etc/rc.d/rc2.d
/etc/rc.d/rc3.d
...
The /etc/rc.d/init.d directory holds all the scripts to start and stop
applications, while the rcX.d directories have symlinks into the init.d
directory which effectively rename the scripts, prefixing them with either
KXX or SXX indicating whether this is a start or stop script. The XX is a
pair of numerals indicating in which order the scripts should be run. For
example in /etc/rc3.d there are the following scripts;
K15postgresql S10network S45pcmcia S85httpd
K20rusersd S11portmap S50inet S85sound
K20rwhod S15nfsfs S55named S91smb.rpmsave
K30sendmail S20random S60lpd S99linuxconf
K55routed S30syslog S60nfs S99local
K70ipfwadm S40atd S70ipfwadm
K87ypbind S40crond S75keytable
S01kerneld S40portmap.rpmsave S85gpm
A long listing of one of the scripts shows the following linking;
lrwxrwxrwx 1 root root 15 Jul 5 11:03
/etc/rc.d/rc3.d/S85httpd -> ../init.d/httpd
Take a look inside the rc.d/rc script for more details.
Hope this helps
regards
Lewis
>The Slackware distrubution has the following files for building an
>Intranet:
>/etc/HOSTNAME
>/etc/hosts
>/etc/host.conf
>/etc/resolv.conf
>/etc/rc.d/rc.inet1
>/etc/rc.d/rc.inet2.
>The RedHat 5.1 distrubution has all of the above, except for:
>/etc/resolv.conf
>/etc/rc.d/rc.inet1
>/etc/rc.d/rc.inet2
>I cannot find these 3 files anywhere in the RedHat distribution. Where
>would these files be in RedHat 5.1?
> Thanks,
> Vincent