Merge pull request #4524 from raspiblitz/4523-smartctl

#4523 fix too often call of smartctl
This commit is contained in:
/rootzoll 2024-04-05 16:14:36 +02:00 committed by GitHub
commit 81a2a013c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -275,6 +275,8 @@ do
###################
# HARDDRIVE
# info on storage medium
source <(/home/admin/_cache.sh valid hdd_mounted)
if [ "${stillvalid}" == "0" ] || [ ${age} -gt ${MINUTE2} ]; then
echo "updating: /home/admin/config.scripts/blitz.datadrive.sh status"
source <(/home/admin/config.scripts/blitz.datadrive.sh status)