stable #2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user