fix compatible for sh

This commit is contained in:
neil
2016-04-16 21:01:40 +08:00
parent 6ed1c718b9
commit 036e9d1074
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
#
@ -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