usr/bin/custom/watchdog-monitor aktualisiert
This commit is contained in:
@@ -27,7 +27,7 @@ update_watchdog_config() {
|
|||||||
sudo sed -i '/^interval/d' "$config_file"
|
sudo sed -i '/^interval/d' "$config_file"
|
||||||
|
|
||||||
# Set interval
|
# 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
|
# Check if IP addresses are found and add them to the config
|
||||||
if [ ${#ip_array[@]} -gt 0 ]; then
|
if [ ${#ip_array[@]} -gt 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user