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
This commit is contained in:
parent
0fcca6c99e
commit
e93810a23e
@ -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) {
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user