From owner-freebsd-questions Tue Jul 25 8:58:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fremont.bolingbroke.com (adsl-216-102-90-210.dsl.snfc21.pacbell.net [216.102.90.210]) by hub.freebsd.org (Postfix) with ESMTP id CF87237B62E for ; Tue, 25 Jul 2000 08:58:15 -0700 (PDT) (envelope-from hacker@bolingbroke.com) Received: from fremont.bolingbroke.com (fremont.bolingbroke.com [216.102.90.210]) by fremont.bolingbroke.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id IAA84012; Tue, 25 Jul 2000 08:56:28 -0700 (PDT) Date: Tue, 25 Jul 2000 08:56:28 -0700 (PDT) From: Ken Bolingbroke To: j mckitrick Cc: questions@FreeBSD.ORG Subject: Re: restarting w/o rebooting In-Reply-To: <20000725164528.B30154@dogma.freebsd-uk.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 25 Jul 2000, j mckitrick wrote: > On Tue, Jul 25, 2000 at 08:38:54AM -0700, Ken Bolingbroke wrote: > > > > You don't even need to restart anything to refresh the firewall > > rules. Assuming you're using /etc/rc.firewall for your rules, just do: > > > > sh /etc/firewall Oops, that should have been: sh /etc/rc.firewall > OK, so if 'fwrules' contains my rules in the format: > > $fwcmd add etc.... > > then > > sh /etc/firewall/fwrules > > is all i need to do? Thanks ! Err, probably not. /etc/rc.firewall is a standard system config file that reads in your system configuration from /etc/rc.conf and sets all the appropriate variables, including $fwcmd. Your custom file would work the same only if you've set it up to do what /etc/rc.firewall does. Ken Bolingbroke hacker@bolingbroke.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message