1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-23 21:46:08 +03:00

Added an extra \ on line 74 by mistake

This commit is contained in:
Christian Berkman 2018-06-04 15:18:14 +03:00
parent ce299a068b
commit 7dc2ef433d

View File

@ -71,7 +71,7 @@ if [[ -e /etc/openvpn/server.conf ]]; then
echo "Please, use one word only, no special characters." echo "Please, use one word only, no special characters."
read -p "Client name: " -e CLIENT read -p "Client name: " -e CLIENT
cd /etc/openvpn/easy-rsa/ cd /etc/openvpn/easy-rsa/
./easyrsa build-client-full $CLIENT nopass\ ./easyrsa build-client-full $CLIENT nopass
# Ask to set a passphrase for the configuration file # Ask to set a passphrase for the configuration file
read -p "Do you want to set a passphrase for the configuration file? [y/N]: " -e -i N SETPASS read -p "Do you want to set a passphrase for the configuration file? [y/N]: " -e -i N SETPASS
if [[ "$SETPASS" = 'y' || "$SETPASS" = 'Y' ]]; then if [[ "$SETPASS" = 'y' || "$SETPASS" = 'Y' ]]; then