fix configrmcnode for AIX

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2011-01-19 15:43:16 +00:00
parent 468ea63296
commit 8df42da717

View File

@ -206,9 +206,9 @@ if [ $ADD -eq 1 ]; then
exit 1
fi
mkdir -p /var/xcat/rmcmon/scripts
cp -p -R /xcatmnt/rmcmon/scripts /var/xcat/rmcmon/scripts 2>/dev/null
cp -p -R /xcatmnt/rmcmon/scripts/* /var/xcat/rmcmon/scripts/ 2>/dev/null
mkdir -p /var/xcat/rmcmon/resources/$nodetype
cp -p -R /xcatmnt/rmcmon/resources/$nodetype /var/xcat/rmcmon/resources/$nodetype 2>/dev/null
cp -p -R /xcatmnt/rmcmon/resources/$nodetype/* /var/xcat/rmcmon/resources/$nodetype/ 2>/dev/null
umount /xcatmnt
rmdir /xcatmnt
fi