Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
e629985c
Commit
e629985c
authored
Mar 26, 2018
by
Pål Håland
Browse files
Use _cdomain if ROUTER_OS_HOST is missing
parent
aa875f11
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/routeros.sh
View file @
e629985c
...
@@ -21,8 +21,8 @@ routeros_deploy() {
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment