diff --git a/auto_install/install.sh b/auto_install/install.sh index 0d7cf15..6a22ad7 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -798,6 +798,7 @@ confOpenVPN() { $SUDO mkdir /etc/openvpn/easy-rsa/pki # Write out new vars file + set +e IFS= read -d '' String <<"EOF" if [ -z "$EASYRSA_CALLER" ]; then echo "Nope." >&2 @@ -811,6 +812,7 @@ set_var EASYRSA_CURVE secp384r1 EOF echo "${String}" | $SUDO tee /etc/openvpn/easy-rsa/vars >/dev/null + set -e # Edit the KEY_SIZE variable in the vars file to set user chosen key size cd /etc/openvpn/easy-rsa || exit @@ -1266,6 +1268,7 @@ main() { echo "${pivpnProto}" > /tmp/pivpnPROTO echo "::: Using port: $PORT" echo ${PORT} > /tmp/INSTALL_PORT + echo ":::" # Only try to set static on Raspbian if [[ $PLAT != "Raspbian" ]]; then