stable #2

Merged
alientim merged 89 commits from stable into dev 2024-11-15 10:37:11 +01:00
Showing only changes of commit c5ed7dde10 - Show all commits

View File

@@ -26,7 +26,7 @@ update_watchdog_config() {
sudo sed -i '/^interval/d' "$config_file" sudo sed -i '/^interval/d' "$config_file"
# Set interval # 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 if [ ${#ip_array[@]} -eq 0 ]; then
echo "No IP addresses found. Watchdog configuration cleared." >> "$log_file" echo "No IP addresses found. Watchdog configuration cleared." >> "$log_file"