Subject: Re: take 2; which way should we go for /etc/rc...
To: None <tech-userlevel@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 12/01/1999 19:50:05
> d)	/etc/rc runs /etc/rc3.d/S* in filename order.  (rc.sysv.sh
> 	implements this). /etc/rc3.d is created from /etc/init.d by
> 	running `mkrc -s01` once.
> 	Pros:
> 		- ordering is obvious

Not so obvious as all that.  I've known people who've added S100foo and
S101bar scripts and then beat their brains out trying to figure out why
they were running so bloody early in startup.

If you do it in "sort +0.1n" order you'll surprise a lot fewer newbies
(but possibly some already-clued admins).  You'll also have to have
something on the root filesystem that can do that sort.

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B