|
|
@ -1,6 +1,7 @@ |
|
|
#!/usr/bin/env sh |
|
|
#!/usr/bin/env sh |
|
|
|
|
|
|
|
|
# Will be called by acme.sh to add the txt record to https://www.ukraine.com.ua/ api. |
|
|
# Will be called by acme.sh to add the txt record to https://www.ukraine.com.ua/ api. |
|
|
|
|
|
# Usage: ./acme.sh --issue -d yourdomain.com [-d '*.yourdomain.com'] --dns dns_hostingUkraine |
|
|
# API endpoint. |
|
|
# API endpoint. |
|
|
HostingUkraine_Api="https://adm.tools/api.php" |
|
|
HostingUkraine_Api="https://adm.tools/api.php" |
|
|
# Author: Qvinti <qvinti.com@gmail.com> |
|
|
# Author: Qvinti <qvinti.com@gmail.com> |
|
|
@ -95,6 +96,7 @@ _hostingUkraine_init() { |
|
|
|
|
|
|
|
|
if [ -z "$HostingUkraine_Login" ] || [ -z "$HostingUkraine_Token" ]; then |
|
|
if [ -z "$HostingUkraine_Login" ] || [ -z "$HostingUkraine_Token" ]; then |
|
|
HostingUkraine_Login="" |
|
|
HostingUkraine_Login="" |
|
|
|
|
|
HostingUkraine_Token="" |
|
|
_err "You didn't specify a Hosting Ukraine account or token yet." |
|
|
_err "You didn't specify a Hosting Ukraine account or token yet." |
|
|
_err "Please create the account and token and try again. Info: https://api.adm.tools/osnovnie-polozheniya/dostup-k-api/" |
|
|
_err "Please create the account and token and try again. Info: https://api.adm.tools/osnovnie-polozheniya/dostup-k-api/" |
|
|
return 1 |
|
|
return 1 |
|
|
|