From e636ef09e9441068eeef3c9d2f5510b7b500ce12 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 24 Mar 2023 23:03:23 +0100 Subject: [PATCH] DNS --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index ef09165b..2963c772 100755 --- a/setup.sh +++ b/setup.sh @@ -99,7 +99,7 @@ sudo systemctl restart astroport ACTUAL=$(cat /etc/resolv.conf | grep -w nameserver | head -n 1) -if [[ $(echo $ACTUAL | grep "1.1.1.1") ]] ; then +if [[ ! $(echo $ACTUAL | grep "1.1.1.1") ]] ; then ######################################################################## echo "ADDING nameserver 1.1.1.1 TO /etc/resolv.conf TO BYPASS LAN COUNTRY RESTRICTIONS" # Avoid provider restrictions ########################################################################