A live bird collage card for your Home Assistant dashboard.
Update disk_check.sh
Patrick McGuire315605092c74
diff --git a/scripts/disk_check.sh b/scripts/disk_check.shindex 0d77e84f..c73cc2f4 100755--- a/scripts/disk_check.sh+++ b/scripts/disk_check.sh@@ -13,3 +13,11 @@ if [ "${used//%}" -ge 95 ]; then/usr/local/bin/stop_core_services.sh;;esacfi+sleep 1+if [ "${used//%}" -ge 95 ]; then+ case $FULL_DISK in+ 0) echo "Removing more data"+ rm -rfv ${PROCESSED}/*+ *) echo "Stopping Core Services"+ /usr/local/bin/stop_core_services.sh;;+ esac