Date: Thu, 19 Nov 1998 22:06:36 +0000 From: Nik Clayton <nik@nothing-going-on.demon.co.uk> To: Jacques Vidrine <n@nectar.com>, Nik Clayton <nik@nothing-going-on.demon.co.uk> Cc: hackers@FreeBSD.ORG Subject: Re: /etc/rc.d, and changes to /etc/rc? Message-ID: <19981119220636.27010@nothing-going-on.org> In-Reply-To: <199811180255.UAA01561@spawn.nectar.com>; from Jacques Vidrine on Tue, Nov 17, 1998 at 08:55:29PM -0600 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981119220636.27010>