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
1 changed files with 1 additions and 1 deletions

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"