From c5ed7dde10d6c5d51e9909bb413ca4c426725658 Mon Sep 17 00:00:00 2001 From: Tim Eertmoed Date: Mon, 28 Oct 2024 19:37:17 +0100 Subject: [PATCH] usr/bin/custom/watchdog-monitor aktualisiert --- usr/bin/custom/watchdog-monitor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/custom/watchdog-monitor b/usr/bin/custom/watchdog-monitor index 54361e9..fdee08f 100644 --- a/usr/bin/custom/watchdog-monitor +++ b/usr/bin/custom/watchdog-monitor @@ -26,7 +26,7 @@ update_watchdog_config() { sudo sed -i '/^interval/d' "$config_file" # Set interval - echo "interval = 60" | sudo tee -a "$config_file" > /dev/null + echo "interval = 59" | sudo tee -a "$config_file" > /dev/null if [ ${#ip_array[@]} -eq 0 ]; then echo "No IP addresses found. Watchdog configuration cleared." >> "$log_file"