Dynu_Duckdns_ssl/scripts/auth2.sh
2025-02-19 21:19:29 +08:00

3 lines
159 B
Bash
Executable file

#!/bin/sh
[[ "$(curl -s "https://www.duckdns.org/update?domains=${DUCKDNS_DOMAIN2%.duckdns.org}&token=${DUCKDNS_TOKEN}&txt=${CERTBOT_VALIDATION}")" = "OK" ]]