From owner-freebsd-hackers Fri Sep 22 07:34:54 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA05209 for hackers-outgoing; Fri, 22 Sep 1995 07:34:54 -0700 Received: from kryten.atinc.com (kryten.Atinc.COM [198.138.38.7]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id HAA05199 for ; Fri, 22 Sep 1995 07:34:50 -0700 Received: (jmb@localhost) by kryten.atinc.com (8.6.9/8.3) id KAA14943; Fri, 22 Sep 1995 10:23:44 -0400 Date: Fri, 22 Sep 1995 10:23:43 -0400 (EDT) From: "Jonathan M. Bresler" Subject: Re: ports startup scripts To: Peter da Silva cc: hackers@freebsd.org In-Reply-To: <199509221355.IAA20833@bonkers.taronga.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org Precedence: bulk Yes, if we are going to a many-scripts each performing one task paradigm, PLEASE do not place the scripts in more than one directory. flip-flopping around from place to place to figure out the boot sequence on ssyv machines drives me crazy.... On Fri, 22 Sep 1995, Peter da Silva wrote: > In article <199509221101.RAA24680@hq.icb.chel.su>, > Serge A. Babkin wrote: > >Or make 'start' and 'stop' scripts really different files without any links. > > Please, no. Link 'em or symlink 'em. Digital Unix screwed up by putting them > in /sbin, but they did this right: > > /sbin/init.d all scripts > /sbin/rc*.d symlinks to init.d/... > > That gives you one place for finding all the service start/stop stuff (init.d), > and you don't go editing rc3.d/S00frog and forget to update rc2.d/K85frog. > > The init.d directory becomes the one stop shop like /etc/rc[.local], and the > rc*.d becomes your toggles like the YES/NO stuff in /etc/sysconfig, and it > becomes easier to productise ports and packages that need to start up daemons. > Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. FreeBSD Postmaster jmb@FreeBSD.Org | 2341 Jeff Davis Hwy play go. | Arlington, VA 22202 ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346