#!/bin/sh

BADNETSFILE=/opt/etc/badnets

.	/opt/etc/globals

$fw table $BADNETS_TID flush

if ! [ -f $BADNETSFILE ]; then
	exit
fi

for NET in `cat $BADNETSFILE`; do
	$fw table $BADNETS_TID add $NET
done
