Click to See Complete Forum and Search --> : Establishing Runlevels
netx2
08-12-2002, 01:35 PM
In installing programs from source, and getting them to start at boot, I have encountered some questions. For instance, in the rc.d directory, the rc#.d files. Certain programs have certain numbers in these files. For examle, some documentation I was looking at for samba stated rc3.d/S45samba. What does the S45 represent. I am looking at installing samba and apache from source and am curious if these numbers can be set to anyhting, or do the major Daemons have a preset # that you are supposed to use.
Thanks.
mdwatts
08-12-2002, 02:21 PM
S45 represents the order in which the service is started.
00 would start first and 99 would start last.
mdwatts
08-12-2002, 02:22 PM
Have a read of the SysV NHF
http://linuxnewbie.org/nhf/Booting_Your_OS/SysVinit.html
The Whizzard
08-12-2002, 02:46 PM
Although not directly related to your question, have a look at the init man page. man init
IMHO, this man page is the only one written as well as it is. Anyone interesten in knowing about this part of the boot process should have a glance at it.
You may also have a /etc/init.d/README or /usr/share/doc/sysvinit/README.runlevels.gz that are worth a glance over.
netx2
08-12-2002, 03:08 PM
Thank ya both for your answers. I have started looking them over, and this is exactly what I wanted to see.
mdwatts
08-12-2002, 04:33 PM
Glad to help.
As The Whizzard posted, there are quite a few documents around that explain the whole boot process.
My distro includes a how-to on the boot process by default.
/usr/share/doc/HOWTO/en-html/From-PowerUp-To-Bash-Prompt