#KERNEL=`cut -d' ' -f3 /proc/version`

#if [ -x /usr/bin/iptables ]
#then
#	echo "IPtables was found"
#else
#	getpkg $KERNEL/iptables
#fi

#if [ -f /lib/modules/ip_tables.o ]
#then
#	echo "Netfilter modules found"
#else
#	getpkg $KERNEL/netfilter
#fi


if [ -f /etc/tux/pkg/labrea/exclude ]
then
	echo "Found exclude list, copying to /etc/LaBreaExclude"
	cp /etc/tux/pkg/labrea/exclude /etc/LaBreaExclude
	foundit=1
fi

if [ -f /etc/tux/pkg/labrea/hardexclude ]
then
	echo "Found exclude list, copying to /etc/LaBreaHardExclude"
	cp /etc/tux/pkg/labrea/hardexclude /etc/LaBreaHardExclude
	foundit=1
fi

if [ ! $foundit ]
then
	echo "No labrea exclude/hardexclude files found"
	echo "If you create them on the boot floppy in /tux/pkg/labrea/"
	echo "See the documentation (man labrea) for more info."
fi


sleep 1
echo
echo "LaBrea was written by Tom Liston <tliston@premmag.com> in response"
echo "to Code Red in July 2001. See http://www.threenorth.com/LaBrea/"
echo
echo 'Type "man labrea" for information on how to start LaBrea"
echo
