From owner-freebsd-current Mon Jul 10 0:26:11 2000 Delivered-To: freebsd-current@freebsd.org Received: from guru.mired.org (zoom0-112.telepath.com [216.14.0.112]) by hub.freebsd.org (Postfix) with SMTP id 23CE537BDF4 for ; Mon, 10 Jul 2000 00:26:05 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 30310 invoked by uid 100); 10 Jul 2000 07:25:17 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14697.31325.422020.803101@guru.mired.org> Date: Mon, 10 Jul 2000 02:25:17 -0500 (CDT) To: clefevre@citeweb.net Cc: freebsd-current@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: etc/rc.d & things... In-Reply-To: References: <14695.51428.314772.426883@guru.mired.org> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Cyrille Lefevre writes: > Mike Meyer writes: > > # Init: 300. Shutdown: -1. Description: Standard smtp (mail) daemon. > > (indicating that it should be installed as /etc/init.d/300sendmail.sh, > > and no shutdown installation is necessary). > I guess you would like to says that scripts.sh lives in /etc/init.d > while XXXscripts.sh lives in /etc/rc.d and /etc/shutdown.d. if not, > you are at the oposite of the SystemV semantic ! and would be a pain > for system administrators. why not to simply adopt the SystemV semantic ? > not all is bad in System V :) Yes, that's correct. And yes, not all is bad in SysV. In particular, having a directory where you can find scripts to stop (and restart) subsystems is very nice. I think the multiple levels (rc?.d) is a bit of overkill. Either the system is up (meaning everything is turned on), or it's down, and the sysadmin who brought it down can start the subsystems s/he needs. Having a single init.d to look in for those things helps in that process.