|
|
@ -5,7 +5,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#UNO_User="UExxxxxx"
|
|
|
|
#UNO_User="UExxxxxx"
|
|
|
|
|
|
|
|
|
|
|
|
Uno_Api="https://api.unoeuro.com/1"
|
|
|
|
Uno_Api="https://api.simply.com/1"
|
|
|
|
|
|
|
|
|
|
|
|
######## Public functions #####################
|
|
|
|
######## Public functions #####################
|
|
|
|
|
|
|
|
|
|
|
@ -24,12 +24,6 @@ dns_unoeuro_add() {
|
|
|
|
return 1
|
|
|
|
return 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if ! _contains "$UNO_User" "UE"; then
|
|
|
|
|
|
|
|
_err "It seems that the UNO_User=$UNO_User is not a valid username."
|
|
|
|
|
|
|
|
_err "Please check and retry."
|
|
|
|
|
|
|
|
return 1
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#save the api key and email to the account conf file.
|
|
|
|
#save the api key and email to the account conf file.
|
|
|
|
_saveaccountconf_mutable UNO_Key "$UNO_Key"
|
|
|
|
_saveaccountconf_mutable UNO_Key "$UNO_Key"
|
|
|
|
_saveaccountconf_mutable UNO_User "$UNO_User"
|
|
|
|
_saveaccountconf_mutable UNO_User "$UNO_User"
|
|
|
|