Browse Source

Clean up whitespace

pull/4654/head
Ola Thoresen 1 year ago
parent
commit
7bc435f8c6
  1. 8
      deploy/opengear.sh

8
deploy/opengear.sh

@ -4,7 +4,6 @@
#returns 0 means success, otherwise error.
# Note that SSH must be able to login to remote host without a password...
# The user must have sudo-access without password
#
@ -12,12 +11,9 @@
# test that you can login to USER@SERVER from the host running acme.sh before
# using this script.
# export OPENGEAR_USER="" # required
# export OPENGEAR_HOST="om1234" # defaults to domain name
Le_Deploy_ssh_cmd="ssh"
#domain keyfile certfile cafile fullchain
@ -34,7 +30,6 @@ opengear_deploy() {
_debug _cca "$_cca"
_debug _cfullchain "$_cfullchain"
# OPENGEAR ENV VAR check
if [ -z "$OPENGEAR_HOST" ]; then
# HOST is not set in environment, check for saved variable
@ -73,8 +68,6 @@ opengear_deploy() {
return "$_err_code"
}
#cmd
_ssh_remote_cmd() {
_cmd="$1"
@ -92,4 +85,3 @@ _ssh_remote_cmd() {
return $_err_code
}
Loading…
Cancel
Save