On 31/12/2007, DAve <[EMAIL PROTECTED]> wrote:
> Small hint shown to me many years ago when enabling things in rc.conf.
> If I want to startup ipfilter for example (trimmed to avoid wrapping).
> bash-2.05b# cat /etc/defaults/rc.conf | grep ^ipfilter
> Returns the following,
> ipfilter_enable="NO" # Set to YES to enable ipfilter
> ipfilter_program="/sbin/ipf" # where the ipfilter program lives
> ipfilter_rules="/etc/ipf.rules" # rules definition file for ipfilter,
> ipfilter_flags="" # additional flags for ipfilter
> If it looks like what you want then write it into your running rc.conf,
> cat /etc/defaults/rc.conf | grep ^ipfilter >> /etc/rc.conf
cat not needed, as grep accepts filenames
and < as in
grep ^ipfilter /etc/defaults/rc.conf
or the above with | $PAGER appended
grep ^ipfilter /etc/defaults/rc.conf >> /etc/rc.conf
grep ^allsc < /etc/defaults/rc.conf | less
sorry, just trying to prevent cat abuse
email@example.com mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"