mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 14:41:40 +00:00
Update truenas.sh
solved the problem of UI-Restart after 12.0-U3
This commit is contained in:
parent
4bb8e3a121
commit
3bcb91f6ae
@ -35,19 +35,6 @@ truenas_deploy() {
|
||||
_debug _cca "$_cca"
|
||||
_debug _cfullchain "$_cfullchain"
|
||||
|
||||
if _exists "curl"; then
|
||||
_debug "curl found, no Message to restartUI error"
|
||||
else
|
||||
if _exists "wget"; then
|
||||
_err "Until Version of TrueNAS is older than TrueNAS-12.0-U2 there are problems with using wget"
|
||||
_err "There is a bug when using the API Call restartUI with wget"
|
||||
_err "The API call does not give any response, whit wget the api call restartUI would be called about 20 times"
|
||||
_err "Please use curl!"
|
||||
_err "Bug Report at https://jira.ixsystems.com/browse/NAS-109435"
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
_getdeployconf DEPLOY_TRUENAS_APIKEY
|
||||
|
||||
if [ -z "$DEPLOY_TRUENAS_APIKEY" ]; then
|
||||
@ -182,9 +169,6 @@ truenas_deploy() {
|
||||
|
||||
_info "Reload WebUI from TrueNAS"
|
||||
_restart_UI=$(_get "$_api_url/system/general/ui_restart")
|
||||
_info "Until Version of TrueNAS is older than TrueNAS-12.0-U3 curl returns error 52"
|
||||
_info "This is not a problem for tis scipt"
|
||||
_info "See Bugreport: https://jira.ixsystems.com/browse/NAS-109435"
|
||||
_debug2 _restart_UI "$_restart_UI"
|
||||
|
||||
if [ -n "$_add_cert_result" ] && [ -n "$_activate_result" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user