Update confighfi postscript to work with Torrent 2.1 hardwares

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2011-10-30 10:16:13 +00:00
parent 09369ca2eb
commit 24572647db

View File

@ -107,12 +107,13 @@ if [ -n $CLIENT_IP ]
then
#Check whether the mlt0 is available
`lsdev -C | grep mlt0 | grep Available 2>&1 >/dev/null`
if [ $? ]
then
/usr/ml/aix71/rc.ml
fi
chdev -l ml0 -a state=detach
# Reconfig ml0 since HFx are configured after ml0 is available
rmdev -l mlt0
mkdev -l mlt0
chdev -l ml0 -a netaddr=$CLIENT_IP -a netmask=$NETMASK -a state=up
fi