5 lines
194 B
Bash
Executable file
5 lines
194 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=$baseurl\n" "$DUCKDNS_DOMAIN" "$DUCKDNS_TOKEN" | curl -o "$logfile" -K -
|