mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 20:24:39 +02:00
loop with a little more sleep time
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user