usr/bin/custom/watchdog-monitor aktualisiert

This commit is contained in:
2024-10-28 19:59:31 +01:00
parent 63a40835b6
commit 7b46dc4e73

View File

@@ -27,7 +27,7 @@ update_watchdog_config() {
sudo sed -i '/^interval/d' "$config_file"
# Set interval
echo "interval = 59" | sudo tee -a "$config_file" > /dev/null
echo "interval = 58" | sudo tee -a "$config_file" > /dev/null
# Check if IP addresses are found and add them to the config
if [ ${#ip_array[@]} -gt 0 ]; then