1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-11-18 02:05:12 +00:00

Re-add a default suggestion for the client name

But only during the setup, not for additional clients
This commit is contained in:
Angristan 2018-08-18 21:47:10 +02:00
parent 47c86874dc
commit 1b18e7f2a7

View File

@ -394,7 +394,7 @@ else
echo "Finally, tell me a name for the client certificate and configuration"
echo "Use one word only, no special characters"
until [[ "$CLIENT" =~ ^[a-zA-Z0-9_]+$ ]]; do
read -rp "Client name: " -e CLIENT
read -rp "Client name: " -e -i client CLIENT
done
echo ""
echo "Okay, that was all I needed. We are ready to setup your OpenVPN server now"