2020-10-29 16:38:49 +01:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
logfile=/var/log/duckdns.log
|
2020-10-30 11:58:53 +01:00
|
|
|
baseurl='https://www.duckdns.org/update?domains=%s&token=%s'
|
2024-01-16 18:08:21 +01:00
|
|
|
printf 'url=%s\n' "$baseurl" "$DUCKDNS_DOMAIN" "$DUCKDNS_TOKEN" | curl -o "$logfile" -K -
|