From 1b18e7f2a7c2104836c00572ee514a9751fe3cec Mon Sep 17 00:00:00 2001 From: Angristan Date: Sat, 18 Aug 2018 21:47:10 +0200 Subject: [PATCH] Re-add a default suggestion for the client name But only during the setup, not for additional clients --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 658f5a3..4db321d 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -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"