On Sat, Jul 15, 2006 at 08:27:32PM +0300, Soner Tari wrote: > > Have your cron job copy the current anchor rules to pf-current.conf, > > then add pfctl -f pf-current.conf to rc.local. > > Thank you for the reply (and Gaby too). But I am not sure if this would > be an elegant workaround. Because by chance there may be cron jobs > scheduled to run exactly during downtime, and I would miss them. This is > still true no matter how small the chances are.
I believe Gaby's solution would handle this. If you have *one* script that decides which rules to load based on system time, then it would load the correct rules when run from both rc.local and cron. -- Darrin Chandler | Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ |

