From owner-freebsd-current Thu Nov 18 21:50:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp04.nwnexus.com (smtp04.nwnexus.com [206.63.63.52]) by hub.freebsd.org (Postfix) with ESMTP id 942151563F for ; Thu, 18 Nov 1999 21:50:04 -0800 (PST) (envelope-from wrsomsky@halcyon.com) Received: from gramarye (evt-lx100-ip27.nwnexus.net [204.57.235.27]) by smtp04.nwnexus.com (8.8.8/8.8.8) with ESMTP id VAA00279; Thu, 18 Nov 1999 21:50:01 -0800 (PST) Received: (from wrsomsky@localhost) by gramarye (8.9.3/8.9.3) id VAA67877; Thu, 18 Nov 1999 21:47:45 -0800 (PST) (envelope-from wrsomsky) Date: Thu, 18 Nov 1999 21:47:39 -0800 From: "William R. Somsky" To: A.Leidinger@WJPServer.CS.Uni-SB.de Cc: archie@whistle.com, current@FreeBSD.ORG Subject: Re: "man" reads /etc/rc.conf? Message-ID: <19991118214739.A67672@gramarye.halcyon.com> References: <199911092127.NAA35683@bubba.whistle.com> <199911101247.NAA01228@work.net.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199911101247.NAA01228@work.net.local>; from A.Leidinger@WJPServer.CS.Uni-SB.de on Wed, Nov 10, 1999 at 01:47:46PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Nov 10, 1999 at 01:47:46PM +0100, A.Leidinger@WJPServer.CS.Uni-SB.de wrote: > > /usr/bin/apropos contains: > ---snip--- > # If possible check global system configuration file for additional > # man locales installed > if [ -r /etc/defaults/rc.conf ] ; then > . /etc/defaults/rc.conf > elif [ -r /etc/rc.conf ] ; then > . /etc/rc.conf > fi > ---snip--- > Hmm... aside from whether or not apropos should be reading in rc.conf, isn't this code fragment doing the wrong thing in regards to the way we have /etc/defaults/rc.conf and /etc/rc.conf setup nowadays? Shouldn't it read _both_ if present? Ie: if [ -r /etc/defaults/rc.conf ] ; then . /etc/defaults/rc.conf fi if [ -r /etc/rc.conf ] ; then . /etc/rc.conf fi ________________________________________________________________________ William R. Somsky wrsomsky@halcyon.com Physicist, Baritone, Guitarist http://www.halcyon.com/wrsomsky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message