From 0264a6c2fb2bc07d9777bc675215a8f9a4920361 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Wed, 5 May 2021 10:42:53 +0200 Subject: [PATCH] loop with a little more sleep time --- home.admin/_bootstrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index c0f727673..7230412a4 100755 --- a/home.admin/_bootstrap.sh +++ b/home.admin/_bootstrap.sh @@ -385,7 +385,6 @@ if [ ${isMounted} -eq 0 ]; then # get latest network info & update raspiblitz.info (in case network changes) source <(/home/admin/config.scripts/internet.sh status) sed -i "s/^localip=.*/localip='${localip}'/g" ${infoFile} - sleep 1 # get fresh info about data drive (in case the hdd gets disconnected) source <(sudo /home/admin/config.scripts/blitz.datadrive.sh status) @@ -400,6 +399,9 @@ if [ ${isMounted} -eq 0 ]; then exit 0 fi + # give the loop a little bed time + sleep 4 + done ############################### TODO: RE-ARRANGE THE PARTS BELOW