. /etc/profile
. /etc/systemconfig
curl -# http://$dbhost/failed_func_hosts|grep -q `hostname`
status=$?
if [ $status = 0 ]
then
	echo "removeing ca"
	rm -f /etc/pki/func/*
	echo "restarting func"
	sv stop  funcd
	sleep 3
	sv start funcd
fi