acme更正

This commit is contained in:
lsy 2024-09-23 01:53:07 +08:00
parent 686bf79555
commit 912b446a60

View File

@ -62,7 +62,7 @@ case $pick_mode in
case ${mode_arr[$pick_mode]} in case ${mode_arr[$pick_mode]} in
'TXT记录') 'TXT记录')
declare domain declare domain
declare log_output=$(acme.sh --issue --dns $domain_str --yes-I-know-dns-manual-mode-enough-go-ahead-please) declare log_output=$(${HOME}/.acme.sh/acme.sh --issue --dns $domain_str --yes-I-know-dns-manual-mode-enough-go-ahead-please)
declare domain=$( echo "$log_output" | grep "Domain:" | awk -F ": " '{print $2}') declare domain=$( echo "$log_output" | grep "Domain:" | awk -F ": " '{print $2}')
declare txt_value=$(echo "$log_output" | grep "TXT value:" | awk -F ": " '{print $2}') declare txt_value=$(echo "$log_output" | grep "TXT value:" | awk -F ": " '{print $2}')
echo "请到dns系统解析TXT记录" echo "请到dns系统解析TXT记录"