mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-28 07:51:46 +00:00
Add --dnsslowrate arg
This commit is contained in:
parent
54f1be69c7
commit
16db9a7337
14
acme.sh
14
acme.sh
@ -3974,10 +3974,17 @@ $_authorizations_map"
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$addcommand" = "dns_aws_add" -a -n "$_dnsslowrate" ] ; then
|
||||||
|
if ! $addcommand "$txtdomain" "$txt" "$_dnsslowrate"; then
|
||||||
|
_err "Error add txt for domain:$txtdomain"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
if ! $addcommand "$txtdomain" "$txt"; then
|
if ! $addcommand "$txtdomain" "$txt"; then
|
||||||
_err "Error add txt for domain:$txtdomain"
|
_err "Error add txt for domain:$txtdomain"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
)
|
)
|
||||||
|
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
@ -5919,6 +5926,7 @@ _process() {
|
|||||||
_httpport=""
|
_httpport=""
|
||||||
_tlsport=""
|
_tlsport=""
|
||||||
_dnssleep=""
|
_dnssleep=""
|
||||||
|
_dnsslowrate=""
|
||||||
_listraw=""
|
_listraw=""
|
||||||
_stopRenewOnError=""
|
_stopRenewOnError=""
|
||||||
#_insecure=""
|
#_insecure=""
|
||||||
@ -6158,6 +6166,12 @@ _process() {
|
|||||||
_webroot="$_webroot,$wvalue"
|
_webroot="$_webroot,$wvalue"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
--dnsslowrate)
|
||||||
|
_dnsslowrate="$2"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
|
||||||
--dnssleep)
|
--dnssleep)
|
||||||
_dnssleep="$2"
|
_dnssleep="$2"
|
||||||
Le_DNSSleep="$_dnssleep"
|
Le_DNSSleep="$_dnssleep"
|
||||||
|
Loading…
Reference in New Issue
Block a user