From 67d0dee6995d5e55baeffe99e2dda58f7e4bc72c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 12 Oct 2024 23:24:59 +0200 Subject: [PATCH] Update 30-monitoring.sh --- battybirdnet-pi/rootfs/custom-services.d/30-monitoring.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/battybirdnet-pi/rootfs/custom-services.d/30-monitoring.sh b/battybirdnet-pi/rootfs/custom-services.d/30-monitoring.sh index cf065be70..060c318c9 100755 --- a/battybirdnet-pi/rootfs/custom-services.d/30-monitoring.sh +++ b/battybirdnet-pi/rootfs/custom-services.d/30-monitoring.sh @@ -2,6 +2,8 @@ # shellcheck shell=bash # Adapted from https://github.com/mcguirepr89/BirdNET-Pi/issues/393#issuecomment-1166445710 +HOME="/home/pi" + # Define logging functions log_green() { echo -e "\033[32m$1\033[0m"; } log_red() { echo -e "\033[31m$1\033[0m"; }