-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:
parent
ae2bece3ec
commit
1b53a0cc5d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user