From owner-freebsd-current Thu Feb 11 13:11:56 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA18173 for freebsd-current-outgoing; Thu, 11 Feb 1999 13:11:56 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA18146 for ; Thu, 11 Feb 1999 13:11:52 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id UAA29967; Thu, 11 Feb 1999 20:56:33 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.2/8.9.2) with ESMTP id UAA04933; Thu, 11 Feb 1999 20:56:23 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199902112056.UAA04933@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: paul@originative.co.uk cc: axl@iafrica.com, brian@Awfulhak.org, tr49986@rcc.on.ca, current@FreeBSD.ORG Subject: Re: Heads up! /etc/rc.conf.site is dead. In-reply-to: Your message of "Thu, 11 Feb 1999 15:51:56 GMT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 11 Feb 1999 20:56:23 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > They're going into /usr/share/examples/ppp soon. > > > > [...] > > > > Besides, with all this activity, it'd be nice to get out of /etc > > > > altogether :-) > > > > > > Have another think about it. /etc/defaults does have its > > merits but it isn't > > > going to work well unless everyone buys into it. > > > > /etc/defaults is for default knobs that are turned on by > > default and may > > be overridden. Examples are knobs that are not turned on by > > default. Can > > you see why the ppp examples are not a candidate for "buy in"? > > I don't really agree, defaults is not for knobs that are turned on by > default, for a start that assumes binary state which isn't the case. > /etc/defaults will have the defaults for *all* knobs. That would include > options that are disabled by default. > > Specifically with regard to ppp, having it work the same way would require > changing ppp configuration code to parse a local file for overrides but > there's no reason why all configuration couldn't adopt the same general > principle of operation i.e. a defaults file that sets all configuration > knobs into a default state and then a local override file for local changes. I see no problem with the `default' section in ppp.conf. It allows the specification of defaults that can be overridden by individual profiles. ppp.*.sample are samples. They are purely there to give people a feel for what their configuration files might look like and to show them how to achieve things that require quite a few commands - such as playing server, doing multilink etc. > Paul. Besides, IMHO, /etc/defaults will either be abused by system administrators or will be a poor-mans copy of src/etc. I can't see the problems going away by using something like this. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message