From owner-freebsd-ipfw Tue Dec 12 17:47:33 2000 From owner-freebsd-ipfw@FreeBSD.ORG Tue Dec 12 17:47:31 2000 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mail3.lig.bellsouth.net (mail3.lig.bellsouth.net [205.152.0.51]) by hub.freebsd.org (Postfix) with ESMTP id E1F8F37B400 for ; Tue, 12 Dec 2000 17:47:30 -0800 (PST) Received: from eileen (adsl-61-148-210.int.bellsouth.net [208.61.148.210]) by mail3.lig.bellsouth.net (3.3.5alt/0.75.2) with SMTP id UAA09876 for ; Tue, 12 Dec 2000 20:47:29 -0500 (EST) Message-Id: <200012130147.UAA09876@mail3.lig.bellsouth.net> From: "Chris Browning" To: freebsd-ipfw@freebsd.org Date: Tue, 12 Dec 2000 20:40:41 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: suck in config vars in rc.firewall Priority: normal X-mailer: Pegasus Mail for Win32 (v3.01b) Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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