acme更正
This commit is contained in:
parent
50279b678a
commit
22b36cfe6e
@ -18,9 +18,10 @@ while(true);do
|
||||
read -p "不输入退出添加:" domain
|
||||
if [[ -z $domain ]];then
|
||||
break
|
||||
elif [[ ! $domain =~ "[\w+\.]+" ]];then
|
||||
elif [[ ! $domain =~ [\w+\.]+ ]];then
|
||||
echo "域名不合法"
|
||||
exit
|
||||
else
|
||||
domain_str="$domain_str -d $domain"
|
||||
fi
|
||||
done
|
||||
@ -30,8 +31,8 @@ if [[ -z $domain_str ]]; then
|
||||
fi
|
||||
|
||||
declare pick_mode
|
||||
read "1.http验证"
|
||||
read "2.dns验证"
|
||||
echo "1.http验证"
|
||||
echo "2.dns验证"
|
||||
read -p "请选择验证模式" pick_mode
|
||||
|
||||
case $pick_mode in
|
||||
|
Loading…
Reference in New Issue
Block a user