diff --git a/adblock_test.sh b/adblock_test.sh index 105763f..b8a5381 100644 --- a/adblock_test.sh +++ b/adblock_test.sh @@ -3,12 +3,6 @@ source <(curl -s https://gitea.avc.cx/borekon/scripts/raw/branch/main/colores.sh blocked=0 -#if [ -z "$1" ] -# then -# dns=$(cat /etc/resolv.conf | grep ^nameserver | cut -d " " -f 2) -# else -# dns=$1 -#fi dns_raw=${1:-$(cat /etc/resolv.conf | grep ^nameserver | cut -d " " -f 2)} dns=($dns_raw) domains=$(curl -s https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts | grep -v ^# | shuf -n 10 | cut -d" " -f2)