fix compatible for sh. '-' is not allowed in function name.

This commit is contained in:
neil
2016-04-16 22:19:29 +08:00
parent dceb3acace
commit eccec5f6d5
5 changed files with 20 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ CF_Api="https://api.cloudflare.com/client/v4/"
######## Public functions #####################
#Usage: add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
dns-cf-add(){
dns_cf_add(){
fulldomain=$1
txtvalue=$2