From e93810a23e40907cb320d02a1963d695428e4559 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Mon, 3 Aug 2009 11:41:16 +0000 Subject: [PATCH] handle the output message for the updatenode when run the postscripts git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcataixpost | 2 +- xCAT/postscripts/xcatdsklspost | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index cf9aba13c..fb996038d 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -216,7 +216,7 @@ if (@ARGV<1) { } } else { #called by updatenode, infrom user it is done - print "returned"; + print "returned from postscript"; } if (-f $scriptname) { diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index 40fd3d7e2..80abd5d37 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -63,7 +63,7 @@ cd /xcatpost; PATH=/xcatpost:$PATH export PATH chmod +x /xcatpost/*; -echo "PATH=$PATH" +#echo "PATH=$PATH" /xcatpost/getpostscript.awk | sed -e 's/<[^>]*>//g'|egrep -v '^ *$'|sed -e 's/^ *//' > /tmp/mypostscript; MYCONT=`grep MASTER /tmp/mypostscript` #echo "MYCONT=$MYCONT" @@ -120,6 +120,6 @@ fi #tell user it is done when this is called by updatenode command if [ $# -gt 0 ]; then - echo "returned" + echo "returned from postscript" fi