1 2 3 4 5 6 7 8 9 10 11 12 13 14
. /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