summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/func/failed_func.sh
blob: 2ec4da7ef785e6e5b838e2f4b9be0c343aba3c31 (plain)
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