adjust the xcat log path

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wuzhy 2010-04-27 05:52:26 +00:00
parent a770e38e48
commit d04796a620

View File

@ -291,9 +291,9 @@ TMP=`sed "/postscripts-start-here/,/postscripts-end-here/ s/\(.*\)/run_ps \1/;s/
echo "
# subroutine used to run postscripts
run_ps () {
logdir=\"var/log/xcat\"
logdir=\"/var/log/xcat\"
mkdir -p \$logdir
logfile=\"var/log/xcat/xcat.log\"
logfile=\"/var/log/xcat/xcat.log\"
if [[ -f \$1 ]]; then
echo \"Running postscript: \$1\" | tee -a \$logfile