From owner-freebsd-questions Mon Jun 7 17:34:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from aero.org (aero.org [130.221.16.2]) by hub.freebsd.org (Postfix) with ESMTP id D4B9014F3E for ; Mon, 7 Jun 1999 17:33:21 -0700 (PDT) (envelope-from dylan@rush.aero.org) Received: from rush.aero.org ([130.221.201.83]) by aero.org with ESMTP id <111128-1>; Mon, 7 Jun 1999 17:33:14 -0700 Received: (from dylan@localhost) by rush.aero.org (8.9.3/8.9.3) id RAA15033; Mon, 7 Jun 1999 17:33:12 -0700 (PDT) Date: Mon, 7 Jun 1999 17:33:11 -0700 From: "Dylan A. Loomis" To: Joe Konecny Cc: freebsd list Subject: Re: how to execute rc.firewall? Message-ID: <19990607173311.A14527@rush.aero.org> References: <375C48D0.85D4838D@green-mfg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <375C48D0.85D4838D@green-mfg.com>; from Joe Konecny on Mon, Jun 07, 1999 at 03:33:52PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jun 07, 1999 at 03:33:52PM -0700, Joe Konecny wrote: > 1. I'm not expert but it looks to me like rc.firewall is supposed to > execute on startup? > > 2. Why does rc.firewall look in /etc/default/rc.conf first for > variables? At least that is the way it looks from reading > it. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message 1. /etc/rc.network will run rc.firewall if firewall is enabled in the kernel, firewall_enable is set to YES in either /etc/rc.conf, or /etc/default/rc.conf see /etc/rc.network for the longer expl. rc.network is run by /etc/rc which is run by init. 2. A bunch of variables need to be set that reside in /etc/default/rc.conf then /etc/rc.conf, is read. This way you get all the the defaults, then can override any that you need in /etc/rc.conf without fubar'ing your defaults. HTH -DAL- -- Dylan A. Loomis Computer Systems Research Department The Aerospace Corporation e-mail: dylan@aero.org phone: (310) 336-2449 PGP Key fingerprint = 55 DE BB DD 34 10 CD 20 72 79 88 FE 02 0E 21 3A PGP 2.6.2 key available upon request To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message