From owner-freebsd-hackers Thu Nov 19 15:10:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA05106 for freebsd-hackers-outgoing; Thu, 19 Nov 1998 15:10:09 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA05081 for ; Thu, 19 Nov 1998 15:10:01 -0800 (PST) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.8.8/8.8.8) id WAA18613; Thu, 19 Nov 1998 22:06:36 GMT (envelope-from nik) Message-ID: <19981119220636.27010@nothing-going-on.org> Date: Thu, 19 Nov 1998 22:06:36 +0000 From: Nik Clayton To: Jacques Vidrine , Nik Clayton Cc: hackers@FreeBSD.ORG Subject: Re: /etc/rc.d, and changes to /etc/rc? References: <19981115235938.22908@nothing-going-on.org> <19981117210138.03327@nothing-going-on.org> <199811172241.QAA00519@spawn.nectar.com> <19981117235348.41074@nothing-going-on.org> <199811180255.UAA01561@spawn.nectar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199811180255.UAA01561@spawn.nectar.com>; from Jacques Vidrine on Tue, Nov 17, 1998 at 08:55:29PM -0600 Organization: Nik at home, where there's nothing going on Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I think most people have commented on your message, so I'm going to skip bits, but; On Tue, Nov 17, 1998 at 08:55:29PM -0600, Jacques Vidrine wrote: > > 3. Makes updating /etc simpler after a 'make world'. If each script > > starts with something like > > > > if [ -x /usr/local/etc/rc.d/`basename $0` ]; then > > exec /usr/local/etc/rc.d/`basename $0` $* > > fi > > > > then you could completely replace sendmail (which would be started > > from smtp.sh) by creating a /usr/local/etc/rc.d/smtp.sh script. One > > less thing to worry about. > > I don't understand your point here. If you want to use something other > than sendmail, just set sendmail_enable="NO" in rc.conf. I'd prefer to change that variable to smtp_enable (with sendmail_enable being understood as a compatability hack for a short period of time, say 1 month). IMHO it makes more sense for rc.conf to specify this fairly generically, and let the rc.d/* scripts handle the specifics. There are other variables in rc.conf which could use the same treatment. N -- C.R.F. Consulting -- we're run to make me richer. . . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message