tabs to spaces

This commit is contained in:
EWouters 2017-03-14 15:39:53 +13:00
parent 097145392c
commit 277a212a8f

View file

@ -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