cloudflare-dns-updater/cloudflare_multi_update

8 lines
338 B
Plaintext
Raw Normal View History

2024-02-26 23:54:15 +00:00
#!/bin/bash
rm /home/brickman/cloudflare-ddns-updater/logs &>/dev/null
while read -r domain_name; do
if [ -n "$domain_name" ]; then
/home/brickman/cloudflare-ddns-updater/cloudflare_single_update "$domain_name" >> /home/brickman/cloudflare-ddns-updater/logs
fi
done < "/home/brickman/cloudflare-ddns-updater/domain_lists"