From 5acfd5a014563a08b3035ecf7a4d994d7ef305f2 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Wed, 3 Jul 2013 03:14:03 +0000 Subject: [PATCH] To make the mount of /install check to be accurate. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16863 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/ospkgs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/ospkgs b/xCAT/postscripts/ospkgs index 40d34d3c0..9f126c099 100755 --- a/xCAT/postscripts/ospkgs +++ b/xCAT/postscripts/ospkgs @@ -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