File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #! /bin/sh
1+ #! /bin/bash
22
33function init_conf {
44 default_psql_vars
@@ -236,8 +236,7 @@ function openvpn_config_checksum {
236236}
237237
238238function openvpn_config_download {
239- curl --silent --retry 10 --retry-delay 5 --retry-max-time 300\
240- --insecure --output vpn.tar.gz \
239+ curl --silent --retry 10 --retry-delay 5 --retry-max-time 300 --insecure --output vpn.tar.gz \
241240 ${API_INTERNAL} /controller/vpn/download-config/$UUID /? key=$KEY
242241 curl --silent --insecure --output checksum \
243242 ${API_INTERNAL} /controller/vpn/checksum/$UUID /? key=$KEY
@@ -255,7 +254,7 @@ function openvpn_config_download {
255254
256255function crl_download {
257256 curl --silent --insecure --output revoked.crl \
258- ${DASHBOARD_INTERNAL} /admin/pki/ca/x509/ca/${CA_UUID} .crl
257+ " ${DASHBOARD_INTERNAL} /admin/pki/ca/x509/ca/${CA_UUID} .crl"
259258}
260259
261260function init_send_network_topology {
You can’t perform that action at this time.
0 commit comments