fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
immarvin 2012-05-15 03:12:41 +00:00
parent b4909c86bb
commit 919c7bb12e

View File

@ -9,23 +9,23 @@
# from the postscript table into the servicenode postscript.
#
if [ ! $1 ]; then
logger -t xcat "xcatserver call without -d, doing nothing."
logger -t xcat -p local4.err "xcatserver call without -d, doing nothing."
#echo "xcatserver call without -d, doing nothing."
#echo $1
exit 0
fi
if [ $1 != "-d" ]; then
logger -t xcat "xcatserver call without -d, doing nothing."
logger -t xcat -p local4.err "xcatserver call without -d, doing nothing."
#echo "xcatserver call without -d, doing nothing."
#echo $1
exit 0
fi
logger -t xcat "xcatserver call with -d. getting credentials and cfgloc "
logger -t xcat -p local4.info "xcatserver call with -d. getting credentials and cfgloc "
#echo "xcatserver call with -d, getting credentials and cfgloc."
#echo $1
if [ ! -x /usr/bin/openssl ]; then
logger -t xcat "$0: /usr/bin/openssl is not executable"
logger -t xcat -p local4.err "$0: /usr/bin/openssl is not executable"
exit 0
fi
USEOPENSSLFORXCAT=1