-Eliminate redundant loop in nbroot when going to try everything and everything to get discovered

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-03-21 20:20:54 +00:00
parent ae2bece3ec
commit 1b53a0cc5d

View File

@ -77,9 +77,6 @@ while :; do
then
#if usleep succeeded, that means it wasn't killed and therefore, no answer yet
killall udpcat.awk #reap hung ones
for dhcps in `cat /tmp/dhcpserver`; do
cat /tmp/discout | udpcat.awk $dhcps $XCATPORT &
done
for nic in `ifconfig -a|grep HWaddr|grep -v sit|awk '{print $1}'`; do #also, bring down interfaces to make sure that we send from the 'right' nic
for dnic in `ifconfig -a|grep HWaddr|grep -v sit|awk '{print $1}'|grep -v $nic`; do
ifconfig $dnic down