From 7d56181699a4d4e67835b5b2265e462b98191a7c Mon Sep 17 00:00:00 2001 From: hybtoy Date: Thu, 14 Sep 2017 16:37:57 +0500 Subject: [PATCH] Update openvpn-install.sh --- openvpn-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index 8f7c97d..95c01dc 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -78,6 +78,7 @@ newclient () { #We verify if we used tls-crypt or tls-auth during the installation TLS_SIG=$(cat /etc/openvpn/TLS_SIG) if [[ $TLS_SIG == "1" ]]; then + echo "" >> ~/$1.ovpn cat /etc/openvpn/tls-crypt.key >> ~/$1.ovpn echo "" >> ~/$1.ovpn elif [[ $TLS_SIG == "2" ]]; then