Rebuild discovery payload every cycle.

Since some things like LLDP data might trickle in, enable gather to
be gathered as it changes.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16979 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2013-07-15 14:09:19 +00:00
parent ae708fa5e2
commit 4e4e10d1f8

View File

@ -50,6 +50,7 @@ done
#time to make our packet...
while [ ! -r /restart ]; do
MTM=unknown
SERIAL=unknown
ARCH=unknown
@ -192,7 +193,6 @@ mv /tmp/discopacket.new /tmp/discopacket
rm -f /tmp/discopacket.gz
gzip -9 /tmp/discopacket
while [ ! -r /restart ]; do
if [ ! -z "$XCATMASTER" ]; then
(cat /tmp/discopacket.gz | udpcat.awk $XCATMASTER $XCATPORT ) &
fi