Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
fb209cdf
Unverified
Commit
fb209cdf
authored
Jan 15, 2020
by
Phlegx Systems OG
Committed by
GitHub
Jan 15, 2020
Browse files
Merge pull request #6 from Marco4223/Fix-issues-and-reslolve-zone-and-record-name
delete spaces in empty lines
parents
96180e75
431c53ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_kas.sh
View file @
fb209cdf
...
@@ -61,14 +61,14 @@ dns_kas_rm() {
...
@@ -61,14 +61,14 @@ dns_kas_rm() {
_info
"Using DNS-01 All-inkl/Kasserver hook"
_info
"Using DNS-01 All-inkl/Kasserver hook"
_info
"Cleaning up after All-inkl/Kasserver hook"
_info
"Cleaning up after All-inkl/Kasserver hook"
_info
"Removing
$_fulldomain
DNS TXT entry on All-inkl/Kasserver"
_info
"Removing
$_fulldomain
DNS TXT entry on All-inkl/Kasserver"
_info
"Check and Save Props"
_info
"Check and Save Props"
_check_and_save
_check_and_save
_info
"Checking Zone and Record_Name"
_info
"Checking Zone and Record_Name"
_get_zone_and_record_name
"
$_fulldomain
"
_get_zone_and_record_name
"
$_fulldomain
"
_info
"Getting Record ID"
_info
"Getting Record ID"
_get_record_id
_get_record_id
# If there is a record_id, delete the entry
# If there is a record_id, delete the entry
if
[
-n
"
$_record_id
"
]
;
then
if
[
-n
"
$_record_id
"
]
;
then
params
=
"?kas_login=
$KAS_Login
"
params
=
"?kas_login=
$KAS_Login
"
...
@@ -119,7 +119,7 @@ _check_and_save() {
...
@@ -119,7 +119,7 @@ _check_and_save() {
# Gets back the base domain/zone and record name.
# Gets back the base domain/zone and record name.
# See: https://github.com/Neilpang/acme.sh/wiki/DNS-API-Dev-Guide
# See: https://github.com/Neilpang/acme.sh/wiki/DNS-API-Dev-Guide
_get_zone_and_record_name
()
{
_get_zone_and_record_name
()
{
params
=
"?kas_login=
$KAS_Login
"
params
=
"?kas_login=
$KAS_Login
"
params
=
"?kas_login=
$KAS_Login
"
params
=
"
$params
&kas_auth_type=
$KAS_Authtype
"
params
=
"
$params
&kas_auth_type=
$KAS_Authtype
"
params
=
"
$params
&kas_auth_data=
$KAS_Authdata
"
params
=
"
$params
&kas_auth_data=
$KAS_Authdata
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment