mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +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)
|
# get latest network info & update raspiblitz.info (in case network changes)
|
||||||
source <(/home/admin/config.scripts/internet.sh status)
|
source <(/home/admin/config.scripts/internet.sh status)
|
||||||
sed -i "s/^localip=.*/localip='${localip}'/g" ${infoFile}
|
sed -i "s/^localip=.*/localip='${localip}'/g" ${infoFile}
|
||||||
sleep 1
|
|
||||||
|
|
||||||
# get fresh info about data drive (in case the hdd gets disconnected)
|
# get fresh info about data drive (in case the hdd gets disconnected)
|
||||||
source <(sudo /home/admin/config.scripts/blitz.datadrive.sh status)
|
source <(sudo /home/admin/config.scripts/blitz.datadrive.sh status)
|
||||||
@@ -400,6 +399,9 @@ if [ ${isMounted} -eq 0 ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# give the loop a little bed time
|
||||||
|
sleep 4
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
############################### TODO: RE-ARRANGE THE PARTS BELOW
|
############################### TODO: RE-ARRANGE THE PARTS BELOW
|
||||||
|
Reference in New Issue
Block a user