5 lines
199 B
Bash
Executable file
5 lines
199 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
logfile=/var/log/duckdns.log
|
|
baseurl='https://www.duckdns.org/update?domains=%s&token=%s'
|
|
printf 'url=%s\n' "$baseurl" "$DUCKDNS_DOMAIN" "$DUCKDNS_TOKEN" | curl -o "$logfile" -K -
|