my lame attempt at a shell script...

Timothy Luoma lists at tntluoma.com
Mon Jan 3 10:45:26 PST 2005


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.

What specifically are you trying to pull out of /etc/rc.conf?

TjL

ps - that said, why aren't you setting firewall configuration once and 
leaving it alone?



More information about the freebsd-questions mailing list