Merge 484b3f8098
into bcc914db95
This commit is contained in:
commit
d31f1b0dc4
1 changed files with 5 additions and 1 deletions
|
@ -106,8 +106,9 @@ new_client_dns () {
|
|||
echo " 4) OpenDNS"
|
||||
echo " 5) Quad9"
|
||||
echo " 6) AdGuard"
|
||||
echo " 7) Custom IP"
|
||||
read -p "DNS server [1]: " dns
|
||||
until [[ -z "$dns" || "$dns" =~ ^[1-6]$ ]]; do
|
||||
until [[ -z "$dns" || "$dns" =~ ^[1-7]$ ]]; do
|
||||
echo "$dns: invalid selection."
|
||||
read -p "DNS server [1]: " dns
|
||||
done
|
||||
|
@ -139,6 +140,9 @@ new_client_dns () {
|
|||
6)
|
||||
dns="94.140.14.14, 94.140.15.15"
|
||||
;;
|
||||
7)
|
||||
read -p "Enter IP: " dns
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue