Update openvpn-install.sh

This commit is contained in:
Shahzain Ali
2024-09-03 02:04:22 +05:00
committed by GitHub
parent 11caaf0ec6
commit 3fa51ae0dc

View File

@@ -356,7 +356,7 @@ function installQuestions() {
fi fi
done done
echo "" echo ""
echo "Do you want the same client .ovpn file to connect multiple clients? (This will add 'duplicate-cn' in the server.conf) [y/n]: " read -rp "Do you want the same client .ovpn file to connect multiple clients? (This will add 'duplicate-cn' in the server.conf) [y/n]: " -e -i n MULTI_CLIENT_CHOICE
if [[ $MULTI_CLIENT_CHOICE =~ ^[Yy]$ ]]; then if [[ $MULTI_CLIENT_CHOICE =~ ^[Yy]$ ]]; then
MULTI_CLIENT="y" MULTI_CLIENT="y"