fixed -> Wrong indentation type(spaces instead of tabs)

This commit is contained in:
Shahzain Ali
2025-01-23 17:46:57 +05:00
committed by GitHub
vanhempi e144a93ae6
commit 6f1ef9325d

Näytä tiedosto

@@ -399,11 +399,10 @@ function installQuestions() {
done done
echo "" echo ""
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 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"
else else
MULTI_CLIENT="n" MULTI_CLIENT="n"
fi fi
echo "" echo ""
echo "Do you want to use compression? It is not recommended since the VORACLE attack makes use of it." echo "Do you want to use compression? It is not recommended since the VORACLE attack makes use of it."
@@ -416,7 +415,7 @@ function installQuestions() {
echo " 2) LZ4" echo " 2) LZ4"
echo " 3) LZ0" echo " 3) LZ0"
until [[ $COMPRESSION_CHOICE =~ ^[1-3]$ ]]; do until [[ $COMPRESSION_CHOICE =~ ^[1-3]$ ]]; do
read -rp"Compression algorithm [1-3]: " -e -i 1 COMPRESSION_CHOICE read -rp"Compression algorithm [1-3]: " -e -i 1 COMPRESSION_CHOICE
done done
case $COMPRESSION_CHOICE in case $COMPRESSION_CHOICE in
1) 1)
@@ -817,8 +816,8 @@ function installOpenVPN() {
echo "proto ${PROTOCOL}6" >>/etc/openvpn/server.conf echo "proto ${PROTOCOL}6" >>/etc/openvpn/server.conf
fi fi
if [[ $MULTI_CLIENT == "y" ]]; then if [[ $MULTI_CLIENT == "y" ]]; then
echo "duplicate-cn" >>/etc/openvpn/server.conf echo "duplicate-cn" >>/etc/openvpn/server.conf
fi fi
echo "dev tun echo "dev tun