support account config file to save dns api key

This commit is contained in:
neil committed 2016-01-31 16:30:01 +08:00
1 parent ab49796192
commit e9209938cb
2 files changed
+36 -1

No files matched your search

+4
View File
@@ -22,6 +22,10 @@ dns-cf-add() {
return 1
fi
#save the api key and email to the account conf file.
_saveaccountconf CF_Key "$CF_Key"
_saveaccountconf CF_Email "$CF_Email"
_debug "First detect the root zone"
if ! _get_root $fulldomain ; then
_err "invalid domain"