Commit 16db9a73 authored by Stephane Moser's avatar Stephane Moser
Browse files

Add --dnsslowrate arg

parent 54f1be69
...@@ -3974,9 +3974,16 @@ $_authorizations_map" ...@@ -3974,9 +3974,16 @@ $_authorizations_map"
return 1 return 1
fi fi
if ! $addcommand "$txtdomain" "$txt"; then if [ "$addcommand" = "dns_aws_add" -a -n "$_dnsslowrate" ] ; then
_err "Error add txt for domain:$txtdomain" if ! $addcommand "$txtdomain" "$txt" "$_dnsslowrate"; then
return 1 _err "Error add txt for domain:$txtdomain"
return 1
fi
else
if ! $addcommand "$txtdomain" "$txt"; then
_err "Error add txt for domain:$txtdomain"
return 1
fi
fi fi
) )
...@@ -5919,6 +5926,7 @@ _process() { ...@@ -5919,6 +5926,7 @@ _process() {
_httpport="" _httpport=""
_tlsport="" _tlsport=""
_dnssleep="" _dnssleep=""
_dnsslowrate=""
_listraw="" _listraw=""
_stopRenewOnError="" _stopRenewOnError=""
#_insecure="" #_insecure=""
...@@ -6158,6 +6166,12 @@ _process() { ...@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment