hi, because second run of wget overwrite last data file, multi VegaDNS server didn't work. i write this patch, one server is written to one file and coppied to main data file. I add "-s" to make, because i run update-data.sh in crontab and i need (i thing not only me) quite output.
thx for apply Ondrej Novy
--- update-data.sh.old 2004-03-20 02:23:41.000000000 +0100 +++ update-data.sh 2004-03-20 13:32:24.000000000 +0100 @@ -10,7 +10,11 @@ # Path to the tinydns directory TINYDNSDIR=/etc/tinydns +rm $TINYDNSDIR/root/data +A=$[0] for VD in $VEGADNS ; do - wget -q -O - $VD?state=get_data > $TINYDNSDIR/root/data - (cd $TINYDNSDIR/root ; make) + A=$[$A+1] + wget -q -O "$TINYDNSDIR/root/data.srv-$A" $VD?state=get_data + cat "$TINYDNSDIR/root/data.srv-$A" >>$TINYDNSDIR/root/data done +(cd $TINYDNSDIR/root ; make -s)
