To make the mount of /install check to be accurate.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2013-07-03 03:14:56 +00:00
parent 559c75e567
commit 10986247e3

View File

@ -210,7 +210,7 @@ fi
#check if /install is mounted on the server, we may need to add code to conver NFSSERVER to ip
mounted=0;
result=`mount |grep /install |grep $NFSSERVER`
result=`mount |grep " $INSTALLDIR " |grep $NFSSERVER`
if [ $? -eq 0 ]; then
NFSSERVER="/install"
mounted=1