On Tue, Oct 24, 2000 at 02:58:08PM -0700, Jordan Hubbard thus spoke:
> > The scripts themselves have the ordering dependencies.  The startup
> > system runs them in the proper order.  I don't know if this is
> > pre-computed or redone each boot.

> I'm really curious about this, myself.  One of the reasons the SYSV
> scripts have the numeric prefix is so that you know exactly what order
> things will be started in.  With the NetBSD stuff, this is not
> immediately obvious though I guess one could have a top level rc file
> with an explicit ordering similar to our various subdir Makefiles,
> but that also gives you another location to edit when dropping
> in a new startup file.

This was my thought also.  I put the TCP/IP scripts at 99 to make 
sure that any slow network initialization is done.

Since they all start with S - for example S99tcp - moving it
to s99tcp will keep it from starting, and the Knn<name> in the same
directory is used to stop things when moving from that run level.

It's one of the things I like about the Sys V /etc/rc<n>.d
directory structure, as you can easily fine tune it to fit your
needs.  Just a look at the files and you know the order.

Bill
-- 
Bill Vermillion -   bv @ wjv . com
-- 
Bill Vermillion -   bv @ wjv . com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to