Indentation fixes

This commit is contained in:
nathansharief 2024-06-15 19:06:35 +01:00 committed by GitHub
parent 9f3f90b5e8
commit 285a83ac3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -198,12 +198,12 @@ if [[ ! -e /etc/openvpn/server/server.conf ]]; then
done
if [[ "$dns" == 7 ]]; then
read -p "Enter custom DNS server 1: " dns_custom_1
until [[ -z "$dns_custom_1" || "$dns_custom_1" =~ ^([0-9]{1,3}\.){3}[0-9]{1,3}$ ]]; do
until [[ "$dns_custom_1" =~ ^([0-9]{1,3}\.){3}[0-9]{1,3}$ ]]; do
echo "$dns_custom_1: invalid DNS server."
read -p "Enter custom DNS server 1: " dns_custom_1
done
read -p "Enter custom DNS server 2: " dns_custom_2
until [[ -z "$dns_custom_2" || "$dns_custom_2" =~ ^([0-9]{1,3}\.){3}[0-9]{1,3}$ ]]; do
until [[ "$dns_custom_2" =~ ^([0-9]{1,3}\.){3}[0-9]{1,3}$ ]]; do
echo "$dns_custom_2: invalid DNS server."
read -p "Enter custom DNS server 2: " dns_custom_2
done