mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Revert "ddns-scripts: fix cloudflare.com-v4"
This reverts commit 67e2efb301.
This is totally wrong. The actual bug is in the luci app.
This commit is contained in:
@@ -140,7 +140,7 @@ __ZONEID=$(grep -o '"id":"[^"]*' $DATFILE | grep -o '[^"]*$' | head -1)
|
|||||||
}
|
}
|
||||||
|
|
||||||
# read record id for A or AAAA record of host.domain.TLD
|
# read record id for A or AAAA record of host.domain.TLD
|
||||||
__RUNPROG="$__PRGBASE --request GET '$__URLBASE/zones/$__ZONEID/dns_records?name=*.$__HOST&type=$__TYPE'"
|
__RUNPROG="$__PRGBASE --request GET '$__URLBASE/zones/$__ZONEID/dns_records?name=$__HOST&type=$__TYPE'"
|
||||||
cloudflare_transfer || return 1
|
cloudflare_transfer || return 1
|
||||||
# extract record id
|
# extract record id
|
||||||
__RECID=$(grep -o '"id":"[^"]*' $DATFILE | grep -o '[^"]*$' | head -1)
|
__RECID=$(grep -o '"id":"[^"]*' $DATFILE | grep -o '[^"]*$' | head -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user