Subject: Re: /etc/default
To: None <current-users@NetBSD.ORG>
From: Leo Weppelman <leo@ahwau.ahold.nl>
List: current-users
Date: 07/30/1995 20:59:29
[ ....... ] 
> 
> The rc2 and rc3 scripts doing the ls K* and S* trik are hopelesly brain dead
> on most "standard" systems. When switching from level2 to 3 and back all of
> rc2.d is ran again without check of their need. Often level2 has multy-user
> and networking running and level3 in unused. I once used 3 for start and stop
> of an Informix data base engine on an dual (redundant) system. (2 systems
> sharing the disks (Dual port raid devices - IPI) and had to rewrite rc2 and rc3
Therefore is will be clearer to run the S* scripts on entry and the K* on
exit.  This will better separate the levels (you have a 'matching pair' on
each level). Now if you take care that there is an ordering in the levels
(say numerically ;-) ), you can make the scripts intelligent enough so that
when your at level 1 and want to go to 3, level 2 will also be executed.

Leo.