From 10f3c7dbadf5438dda59988986c35c4513296e97 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 6 Feb 2013 19:46:29 +0000 Subject: [PATCH] fix defect 3362, a portion git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcatdsklspost | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index 549dec86d..ac7d96c2e 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -170,7 +170,12 @@ else fi if [ $ARGNUM -gt 8 ]; then if [ $9 = "--nfsv4" ]; then - NFSV4=$10 + NFSV4=${10} + fi + fi + if [ $ARGNUM -gt 10 ]; then + if [ $11 = "-c" ]; then + CFLAG=${11} fi fi ;; @@ -191,8 +196,9 @@ if [ ! `uname` = Linux ]; then cp /xcatmnt/xcataixpost /xcatpost umount /xcatmnt rmdir /xcatmnt - logger -t xCAT -p local4.err "Running xcataixpost $*"; - exec /xcatpost/xcataixpost $* + logger -t xCAT -p local4.err "Running xcataixpost $*" + # echo "/xcatpost/xcataixpost $1 $2 $3 '"$4"' $5 $6 $7 $8 $9 ${10} ${11}" + exec /xcatpost/xcataixpost $1 $2 $3 '"$4"' $5 $6 $7 $8 $9 ${10} ${11} exit fi