From 28b1e2b6049439c54d5766e63ff85329d273c1ee Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 6 Mar 2008 15:19:40 +0000 Subject: [PATCH] -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 --- xCAT-nbroot/overlay/bin/dodestiny | 4 +++- xCAT-nbroot/overlay/usr/share/udhcpc/default.script | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/xCAT-nbroot/overlay/bin/dodestiny b/xCAT-nbroot/overlay/bin/dodestiny index b2903ac05..66946e897 100755 --- a/xCAT-nbroot/overlay/bin/dodestiny +++ b/xCAT-nbroot/overlay/bin/dodestiny @@ -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 diff --git a/xCAT-nbroot/overlay/usr/share/udhcpc/default.script b/xCAT-nbroot/overlay/usr/share/udhcpc/default.script index 6fff4b6ab..a5cf8a866 100755 --- a/xCAT-nbroot/overlay/usr/share/udhcpc/default.script +++ b/xCAT-nbroot/overlay/usr/share/udhcpc/default.script @@ -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"