[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: booting up



in your '/etc/rc.d' directory, I really have no idea what 'rc.d' stands
for, but assuming you have a basic understanding of 'run-levels'....

you have (in the '/etc/rc.d' dir)
   (*NOTE: These are all dirs)
	init.d - Scripts for alternate deamon startup
	rc0.d  - Run level 0....
	rc1.d  - Run level 1... (you get the picture.)
	rc2.d
	rc3.d
	rc4.d
	rc5.d
	rc6.d
   
OK Now in 'init.d' you have the real scripts, in the 'rcX.d' you have
links to them.  The links have a prefix: ie:
  rc3.d/
	K10amd.init
	K20ypserv.init
	K30yppasswd.init
	S10network
	S20nfs
	S30lpd.init
	S40gpm.init
	S50local.init

You have 2 .. uhm.. 'keys' ('S' and 'K') S=start, K=kill, 'K's run
before 'S''s. SO the number represent priority, so K10, would die before
K20.... and S10 would start before S20... etc.

js

Patrick Tao wrote:
> 
> Dear RHL users,
> 
> I need to have more control of what things get loaded during boot up
> (ypserver,
> httpd, sendmail, news server, network stuff ..etc).
> 
> Can someone tell me the linux equivalent of a config.sys and
> autoexec.bat files
> found in DOS ?
> 
> Many Thanks,
> 
> -p
> 
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST
> ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips
> /mailing-lists
>          To unsubscribe: mail redhat-install-list-request redhat com
>                      with "unsubscribe" as the Subject.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]