if grep -v iptables /etc/ld.so.conf 2> /dev/null > /dev/null
then
	echo "Fixing ld.so.conf"
	echo "/usr/local/lib/iptables" >> /etc/ld.so.conf
	ldconfig
fi

if [ -f /etc/tux/config/forward ]
then
	echo "Enabling IP forwarding"
	echo "1" > /proc/sys/net/ipv4/ip_forward
fi
