mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 19:30:16 +00:00
tabs to spaces
This commit is contained in:
parent
097145392c
commit
277a212a8f
1 changed files with 2 additions and 2 deletions
|
@ -798,7 +798,7 @@ confOpenVPN() {
|
||||||
$SUDO mkdir /etc/openvpn/easy-rsa/pki
|
$SUDO mkdir /etc/openvpn/easy-rsa/pki
|
||||||
|
|
||||||
# Write out new vars file
|
# Write out new vars file
|
||||||
set +e
|
set +e
|
||||||
IFS= read -d '' String <<"EOF"
|
IFS= read -d '' String <<"EOF"
|
||||||
if [ -z "$EASYRSA_CALLER" ]; then
|
if [ -z "$EASYRSA_CALLER" ]; then
|
||||||
echo "Nope." >&2
|
echo "Nope." >&2
|
||||||
|
@ -812,7 +812,7 @@ set_var EASYRSA_CURVE secp384r1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "${String}" | $SUDO tee /etc/openvpn/easy-rsa/vars >/dev/null
|
echo "${String}" | $SUDO tee /etc/openvpn/easy-rsa/vars >/dev/null
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Edit the KEY_SIZE variable in the vars file to set user chosen key size
|
# Edit the KEY_SIZE variable in the vars file to set user chosen key size
|
||||||
cd /etc/openvpn/easy-rsa || exit
|
cd /etc/openvpn/easy-rsa || exit
|
||||||
|
|
Loading…
Reference in a new issue