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:
parent
f836cf43e7
commit
4dac416b9a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user