8 lines
338 B
Bash
Executable File
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"
|