mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-27 02:01:53 +01:00
Merge pull request #4524 from raspiblitz/4523-smartctl
#4523 fix too often call of smartctl
This commit is contained in:
commit
81a2a013c8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user