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
72e1eb88
Commit
72e1eb88
authored
Sep 04, 2017
by
Manuel Friedli
Browse files
Don't use individual redirects, but do it all in one block.
parent
8ee5ede8
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/fritzbox.sh
View file @
72e1eb88
...
...
@@ -82,9 +82,7 @@ fritzbox_deploy() {
printf
--
"--%s
\r\n
"
"
${
_post_boundary
}
"
printf
"Content-Disposition: form-data; name=
\"
BoxCertImportFile
\"
; filename=
\"
BoxCert.pem
\"\r\n
"
printf
"Content-Type: application/octet-stream
\r\n\r\n
"
}
>>
"
${
_post_request
}
"
cat
"
${
_ckey
}
"
"
${
_cfullchain
}
"
>>
"
${
_post_request
}
"
{
cat
"
${
_ckey
}
"
"
${
_cfullchain
}
"
printf
"
\r\n
"
printf
--
"--%s--"
"
${
_post_boundary
}
"
}
>>
"
${
_post_request
}
"
...
...
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