This commit is contained in:
fred 2023-03-24 23:03:23 +01:00
parent b655bebdd4
commit e636ef09e9
1 changed files with 1 additions and 1 deletions

View File

@ -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
########################################################################