if [[ -a appcheck.log ]]
then
rm appcheck.log
appcheck ups.cfg
fi
if [[ -a appcheck.log ]]
then
APPCHECK_STRING=`tail -1 appcheck.log | grep DOWN`
if test "$APPCHECK_STRING" != ""
then
echo $MSG1
Logger
exit 1
fi
else
print "the file appcheck.log doesn't exist"
fi
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.