Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2005 10:31:00 +0100
From:      "Colin J. Raven" <colin@kenmore.kozy-kabin.nl>
To:        Timothy Luoma <lists@tntluoma.com>
Cc:        FreeBSD-Questions Questions <freebsd-questions@freebsd.org>
Subject:   Re: my lame attempt at a shell script...
Message-ID:  <Pine.NEB.4.61.9.0501041028340.407@kenmore.kozy-kabin.nl>
In-Reply-To: <8B357427-5DB7-11D9-89A5-000D93AD26C8@tntluoma.com>
References:  <06DDB71C-5DB4-11D9-B56F-000D9333E43C@secure-computing.net> <8B357427-5DB7-11D9-89A5-000D93AD26C8@tntluoma.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 3 at 13:44, Timothy Luoma launched this into the bitstream:

>
> On Jan 3, 2005, at 1:19 PM, Eric F Crist wrote:
>
>> I'm trying to create a shell script for firewalling.  What I'm hoping to do 
>> is create a generic script that looks for variables in /etc/rc.conf.  I've 
>> tried looking at other scripts that use variables placed there, but don't 
>> understand how to pull the information from the file.
>
> Ah, now I may be a FreeBSD newbie, but I've been doing shell scripts for a 
> long time.
>
Take note, he is *really* not exaggerating!!

> What specifically are you trying to pull out of /etc/rc.conf?
>
>
> ps - that said, why aren't you setting firewall configuration once and 
> leaving it alone?

Yeah, I wondered about that too, unless there's something particular to 
that local configuration it sort of seems like reinventing the wheel.

BTW, welcome to FreeBSD Tim! You have been assimilated etc. :-)



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