mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
Don't use individual redirects, but do it all in one block.
This commit is contained in:
parent
8ee5ede834
commit
72e1eb88d9
@ -82,9 +82,7 @@ fritzbox_deploy() {
|
|||||||
printf -- "--%s\r\n" "${_post_boundary}"
|
printf -- "--%s\r\n" "${_post_boundary}"
|
||||||
printf "Content-Disposition: form-data; name=\"BoxCertImportFile\"; filename=\"BoxCert.pem\"\r\n"
|
printf "Content-Disposition: form-data; name=\"BoxCertImportFile\"; filename=\"BoxCert.pem\"\r\n"
|
||||||
printf "Content-Type: application/octet-stream\r\n\r\n"
|
printf "Content-Type: application/octet-stream\r\n\r\n"
|
||||||
} >>"${_post_request}"
|
cat "${_ckey}" "${_cfullchain}"
|
||||||
cat "${_ckey}" "${_cfullchain}" >>"${_post_request}"
|
|
||||||
{
|
|
||||||
printf "\r\n"
|
printf "\r\n"
|
||||||
printf -- "--%s--" "${_post_boundary}"
|
printf -- "--%s--" "${_post_boundary}"
|
||||||
} >>"${_post_request}"
|
} >>"${_post_request}"
|
||||||
|
Loading…
Reference in New Issue
Block a user