loop with a little more sleep time

This commit is contained in:
rootzoll
2021-05-05 10:42:53 +02:00
parent aa088539cd
commit 0264a6c2fb

View File

@@ -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