summaryrefslogtreecommitdiffstats
path: root/abs/core/func/failed_func.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-12 15:13:10 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-12 15:13:10 (GMT)
commit14094dae7617a478cebc30fa2f5fbb665939e9b0 (patch)
treee6ee447f2a9ce9eb1c3edd8d743321dd1ffea905 /abs/core/func/failed_func.sh
parentdd676eeea075e3638ce98bc02642db4f470112e3 (diff)
downloadlinhes_pkgbuild-14094dae7617a478cebc30fa2f5fbb665939e9b0.zip
linhes_pkgbuild-14094dae7617a478cebc30fa2f5fbb665939e9b0.tar.gz
linhes_pkgbuild-14094dae7617a478cebc30fa2f5fbb665939e9b0.tar.bz2
func: rename failed_func and set it as a bash script in the header.
Diffstat (limited to 'abs/core/func/failed_func.sh')
-rw-r--r--abs/core/func/failed_func.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/abs/core/func/failed_func.sh b/abs/core/func/failed_func.sh
deleted file mode 100644
index b44eb65..0000000
--- a/abs/core/func/failed_func.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-. /etc/profile
-. /etc/systemconfig
-
-if [ x$SystemType = "xMaster_backend" -o x$SystemType = "xStandAlone" ]
-then
- exit 0
-fi
-curl -# http://$dbhost/failed_func_hosts|grep -q `hostname`
-status=$?
-if [ $status = 0 ]
-then
- echo "removing ca (failed_func.sh)"
- rm -f /etc/pki/certmaster/*
- echo "restarting func"
- sv stop funcd
- sleep 3
- sv start funcd
-fi
-