Add check for AIX.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2010-05-04 14:50:34 +00:00
parent f836cf43e7
commit 4dac416b9a

View File

@ -42,6 +42,13 @@
#
######################################################################
# make sure we only run on AIX for now
OSNAME=$(uname -s)
if [[ $OSNAME != "AIX" ]] ; then
echo "This command is currently only supported on AIX."
exit 0
fi
# include common NIM shell defines/functions
NIM="/usr/sbin/nim"
NIMPATH=/usr/lpp/bos.sysmgt/nim