From e9d0be5ecff8a1ec855d4a23387dcb01e0b4f792 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 23 Apr 2024 00:32:30 +0200 Subject: [PATCH] # correct 1st run DHCP latency --- _12345.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/_12345.sh b/_12345.sh index ac8a6189..de7f8476 100755 --- a/_12345.sh +++ b/_12345.sh @@ -81,6 +81,7 @@ while true; do start=`date +%s` MOATS=$(date -u +"%Y%m%d%H%M%S%4N") + [[ ${myIP} == "" ]] && source "${MY_PATH}/tools/my.sh" ## correct 1st run DHCP latency lastrun=$(cat ~/.zen/tmp/${IPFSNODEID}/_MySwarm.moats) duree=$(expr ${MOATS} - $lastrun)