Modified usr/local/bin/setourip

This commit is contained in:
2026-08-18 18:11:17 +03:00
parent 469dfb8438
commit ff4f51506d
+1 -1
View File
@@ -30,7 +30,7 @@ def main():
print(f"Ошибка: '{new_ip}' не является валидным IP-адресом.") print(f"Ошибка: '{new_ip}' не является валидным IP-адресом.")
sys.exit(1) sys.exit(1)
file_txt = "/etc/haproxy/whitelist-our-ips.txt" file_txt = "/etc/haproxy/whitelists/whitelist-our-ips.txt"
file_yaml = "/etc/crowdsec/parsers/s02-enrich/whitelist-our-ips.yaml" file_yaml = "/etc/crowdsec/parsers/s02-enrich/whitelist-our-ips.yaml"
updated = False updated = False