From e6a8c065681f01ff833e0ee0cfadc8a44777ca78 Mon Sep 17 00:00:00 2001 From: Recolic Date: Tue, 28 Jun 2022 11:46:22 +0800 Subject: [PATCH] Update dns_freemyip.sh --- dnsapi/dns_freemyip.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dnsapi/dns_freemyip.sh b/dnsapi/dns_freemyip.sh index 30cfcd80..e91b4de2 100755 --- a/dnsapi/dns_freemyip.sh +++ b/dnsapi/dns_freemyip.sh @@ -2,12 +2,14 @@ # # Author: Recolic Keghart # -######## Public functions ##################### +# acme.sh user: please set your token here! [ -z "$FREEMYIP_Token" ] && FREEMYIP_Token="05ddb54360621d37dea67259" -freemyip_prevdomain_tmpfile=/tmp/.acme-sh-freemyip-prevdomain -# Note: this script was executed in subshell. It means all env would be cleanup, and EXIT event would be called between different domain names. +################ Do not modify after this line ############## + +# Note: this script was executed in subshell. It means all env would be cleanup, and EXIT event would be called between different domain names. The only way to persist state is a temporary file. +freemyip_prevdomain_tmpfile=/tmp/.acme-sh-freemyip-prevdomain # There is random failure while calling freemyip API too fast. This function automatically retry until success. freemyip_get_until_ok() {