Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rc2.d file execution order

Status
Not open for further replies.

DonDavisFCB

Programmer
Aug 22, 2001
73
US
I know the Ks run first and then the Ss because of alphabetical order.

What effect does the number have on the order of execution?
Does S99.... run before or after S98....
Does K99.... run before or after K98....

Is the execution (sort) order reversed for Ks and Ss

Where do un-numbered commands fit?
I have Ssshd & Ksshd in this directory too.
Do they run before or after numbered commands?
 
The K scripts are run first, and should take a "stop" argument. The S scripts are run next, and should take a "start" argument.

Within their respective groups, they run in the default collation order for your locale.

Take a look at [tt]/etc/rc.d/rc[/tt] and [tt]/etc/rc.d/samples/README.txt[/tt] for more information.

- Rod


IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

Wish you could view posts with a fixed font? Got Firefox & Greasemonkey? Give yourself the option.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top