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'
|
2020-10-29 16:38:49 +01:00
|
|
|
printf "url=$baseurl\n" "$DUCKDNS_DOMAIN" "$DUCKDNS_TOKEN" | curl -o "$logfile" -K -
|