mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-08 07:40:05 +01:00
Re-add a default suggestion for the client name
But only during the setup, not for additional clients
This commit is contained in:
parent
47c86874dc
commit
1b18e7f2a7
@ -394,7 +394,7 @@ else
|
|||||||
echo "Finally, tell me a name for the client certificate and configuration"
|
echo "Finally, tell me a name for the client certificate and configuration"
|
||||||
echo "Use one word only, no special characters"
|
echo "Use one word only, no special characters"
|
||||||
until [[ "$CLIENT" =~ ^[a-zA-Z0-9_]+$ ]]; do
|
until [[ "$CLIENT" =~ ^[a-zA-Z0-9_]+$ ]]; do
|
||||||
read -rp "Client name: " -e CLIENT
|
read -rp "Client name: " -e -i client CLIENT
|
||||||
done
|
done
|
||||||
echo ""
|
echo ""
|
||||||
echo "Okay, that was all I needed. We are ready to setup your OpenVPN server now"
|
echo "Okay, that was all I needed. We are ready to setup your OpenVPN server now"
|
||||||
|
Loading…
Reference in New Issue
Block a user