[TASK] convert tabs to spaces
This commit is contained in:
parent
6848b133bc
commit
3a2f72b491
@ -12,8 +12,7 @@ KAPPERNETDNS_Api="https://dnspanel.kapper.net/API/1.1?APIKey=$KAPPERNETDNS_Key&A
|
|||||||
# called with
|
# called with
|
||||||
# fullhostname: something.example.com
|
# fullhostname: something.example.com
|
||||||
# txtvalue: someacmegenerated string
|
# txtvalue: someacmegenerated string
|
||||||
dns_kappernet_add()
|
dns_kappernet_add() {
|
||||||
{
|
|
||||||
fullhostname=$1
|
fullhostname=$1
|
||||||
txtvalue=$2
|
txtvalue=$2
|
||||||
|
|
||||||
@ -56,8 +55,7 @@ dns_kappernet_add()
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# called with
|
# called with
|
||||||
# fullhostname: something.example.com
|
# fullhostname: something.example.com
|
||||||
dns_kappernet_rm()
|
dns_kappernet_rm() {
|
||||||
{
|
|
||||||
fullhostname=$1
|
fullhostname=$1
|
||||||
txtvalue=$2
|
txtvalue=$2
|
||||||
|
|
||||||
@ -94,8 +92,7 @@ dns_kappernet_rm()
|
|||||||
# e.g._acme-challenge.www.domain.com returns
|
# e.g._acme-challenge.www.domain.com returns
|
||||||
# _sub_domain=_acme-challenge.www
|
# _sub_domain=_acme-challenge.www
|
||||||
# _domain=domain.com
|
# _domain=domain.com
|
||||||
_get_root()
|
_get_root() {
|
||||||
{
|
|
||||||
domain=$1
|
domain=$1
|
||||||
i=2
|
i=2
|
||||||
p=1
|
p=1
|
||||||
@ -125,8 +122,7 @@ _get_root()
|
|||||||
# with
|
# with
|
||||||
# method
|
# method
|
||||||
# param
|
# param
|
||||||
_kappernet_api()
|
_kappernet_api() {
|
||||||
{
|
|
||||||
method=$1
|
method=$1
|
||||||
param="$2"
|
param="$2"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user