NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Firewall OS choice



On Wed, Jul 21, 2010 at 11:07:00AM -0400, Michael T. Davis wrote:
> I would like to provide for a user-specified file, so is there anything wrong
> with this...?
> 
> config="${ipnat_conf:-/etc/ipnat.conf}"

You can create a /etc/rc.conf.d/ipfilter file wich has

config=/my/path/name

This will be sourced before running the actual commands but after the defaults
have been set in /etc/rc.d/ipfilter. But you better overwrite stop_precmd
there as well.

Martin


Home | Main Index | Thread Index | Old Index