-Attempt to discover through more paths

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-03-06 15:19:40 +00:00
parent 0736352fd2
commit 28b1e2b604
2 changed files with 4 additions and 2 deletions

View File

@ -77,7 +77,9 @@ while :; do
then
#if usleep succeeded, that means it wasn't killed and therefore, no answer yet
killall udpcat.awk #reap hung ones
cat /tmp/discout | udpcat.awk `cat /tmp/dhcpserver` $XCATPORT &
for dhcps in `cat /tmp/dhcpserver`; do
cat /tmp/discout | udpcat.awk $dhcps $XCATPORT &
done
usleep 8000000
fi
killall udpcat.awk #reap hung ones

View File

@ -5,7 +5,7 @@ deconfig)
/sbin/ifconfig $interface 0.0.0.0
;;
bound|renew)
echo $siaddr > /tmp/dhcpserver
echo $siaddr >> /tmp/dhcpserver
/sbin/ifconfig $interface $ip netmask $subnet
if [ -n "$router" ] ; then
echo "deleting routers"