On Wed, Nov 10, 1999 at 01:47:46PM +0100, [EMAIL PROTECTED] 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                                   [EMAIL PROTECTED]
Physicist, Baritone, Guitarist           http://www.halcyon.com/wrsomsky


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to