neil
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
dnsapi/dns_fornex.sh
|
@ -107,6 +107,7 @@ _get_root() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
_Fornex_API() { |
|
|
_Fornex_API() { |
|
|
|
|
|
FORNEX_API_KEY="${FORNEX_API_KEY:-$(_readaccountconf_mutable FORNEX_API_KEY)}" |
|
|
if [ -z "$FORNEX_API_KEY" ]; then |
|
|
if [ -z "$FORNEX_API_KEY" ]; then |
|
|
FORNEX_API_KEY="" |
|
|
FORNEX_API_KEY="" |
|
|
|
|
|
|
|
@ -116,7 +117,7 @@ _Fornex_API() { |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
_saveaccountconf FORNEX_API_KEY "$FORNEX_API_KEY" |
|
|
|
|
|
|
|
|
_saveaccountconf_mutable FORNEX_API_KEY "$FORNEX_API_KEY" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#method method action data |
|
|
#method method action data |
|
|