cloudflare-dns-updater/cloudflare_multi_update
2024-02-26 18:54:15 -05:00

8 lines
338 B
Bash
Executable File

#!/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"