Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2000 20:40:41 -0500
From:      "Chris Browning" <brownicm@prokyon.com>
To:        freebsd-ipfw@freebsd.org
Subject:   suck in config vars in rc.firewall
Message-ID:  <200012130147.UAA09876@mail3.lig.bellsouth.net>

next in thread | raw e-mail | index | archive | help
This has been bugging me. Could someone explain why 
rc.firewall seems to take config variables from 
etc/defaults/rc.conf instead of /etc/rc.conf?...

# Suck in the configuration variables.
if [ -f /etc/defaults/rc.conf ]; then
   . /etc/defaults/rc.conf
elif [ -f /etc/rc.conf ]; then
   . /etc/rc.conf
fi

Is my understanding of if/elif/fi and test faulty? Thanks.

--------------------------

Chris Browning
brownicm@prokyon.com

------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012130147.UAA09876>