Fixes
This commit is contained in:
parent
56bf67a2e4
commit
3b6c2a60f9
1 changed files with 2 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ else
|
||||||
echo " 10) AdGuard DNS (Russia)"
|
echo " 10) AdGuard DNS (Russia)"
|
||||||
until [[ "$DNS" =~ ^[0-9]+$ ]] && [ "$DNS" -ge 1 -a "$DNS" -le 10 ]; do
|
until [[ "$DNS" =~ ^[0-9]+$ ]] && [ "$DNS" -ge 1 -a "$DNS" -le 10 ]; do
|
||||||
read -rp "DNS [1-10]: " -e -i 1 DNS
|
read -rp "DNS [1-10]: " -e -i 1 DNS
|
||||||
if [[ $DNS == 2 ]] && [[ ! -e /etc/unbound/unbound.conf ]]; then
|
if [[ $DNS == 2 ]] && [[ -e /etc/unbound/unbound.conf ]]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "Unbound is already installed."
|
echo "Unbound is already installed."
|
||||||
echo "You can allow the script to configure it in order to use it from your OpenVPN clients"
|
echo "You can allow the script to configure it in order to use it from your OpenVPN clients"
|
||||||
|
|
@ -454,6 +454,7 @@ else
|
||||||
done
|
done
|
||||||
if [[ $CONTINUE = "n" ]];then
|
if [[ $CONTINUE = "n" ]];then
|
||||||
DNS=""
|
DNS=""
|
||||||
|
CONTINUE=""
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue