mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 14:41:40 +00:00
Use _cdomain if ROUTER_OS_HOST is missing
This commit is contained in:
parent
aa875f1147
commit
e629985cf4
@ -21,8 +21,8 @@ routeros_deploy() {
|
|||||||
_debug _cfullchain "$_cfullchain"
|
_debug _cfullchain "$_cfullchain"
|
||||||
|
|
||||||
if [ -z "$ROUTER_OS_HOST" ]; then
|
if [ -z "$ROUTER_OS_HOST" ]; then
|
||||||
_err "Need to set the env variable ROUTER_OS_HOST"
|
_debug "Using _cdomain as ROUTER_OS_HOST, please set if not correct."
|
||||||
return 1
|
ROUTER_OS_HOST = "$_cdomain"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$ROUTER_OS_USERNAME" ]; then
|
if [ -z "$ROUTER_OS_USERNAME" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user