From d04796a62035af2aa2f724315b489b47e7eef18f Mon Sep 17 00:00:00 2001 From: wuzhy Date: Tue, 27 Apr 2010 05:52:26 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/xcatdsklspost | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index d8e1623b7..1f6d521e3 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -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