mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-02 04:22:44 +00:00
Update edgemax.sh
fixed formatting and some added some quotation marks to make Travis Happy.
This commit is contained in:
parent
e0d630d7a9
commit
2b129b9aba
@ -16,8 +16,8 @@
|
||||
function atexit() {
|
||||
#closes CLI session
|
||||
cli-shell-api teardownSession
|
||||
_debug EXITCODE: $1
|
||||
return $1
|
||||
_debug EXITCODE: "$1"
|
||||
return "$1"
|
||||
}
|
||||
|
||||
|
||||
@ -28,7 +28,6 @@ edgemax_deploy() {
|
||||
_ccert="$3"
|
||||
_cca="$4"
|
||||
_cfullchain="$5"
|
||||
|
||||
### 'lighttpd_pem' - certificate file configured for your Edgemax GUI
|
||||
|
||||
lighttpd_pem=/config/auth/le-cert.pem
|
||||
@ -49,9 +48,10 @@ edgemax_deploy() {
|
||||
_debug "Current Edgemax Certfile" "$certfile"
|
||||
_info "Certfile is not set to $lighttpd_pem"
|
||||
|
||||
vyatta_sbindir="/opt/vyatta/sbin" #overwritten by eval command but needed to pass github checks.
|
||||
# Obtain session environment
|
||||
session_env=$(cli-shell-api getSessionEnv $PPID)
|
||||
eval $session_env
|
||||
eval "$session_env"
|
||||
|
||||
# Setup the session
|
||||
cli-shell-api setupSession
|
||||
|
Loading…
x
Reference in New Issue
Block a user