From 3c47ec2a743b834e98d4125c4c50d3a3659a60fd Mon Sep 17 00:00:00 2001 From: borekon Date: Fri, 31 May 2024 07:29:26 +0000 Subject: [PATCH] old commented code removed --- adblock_test.sh | 6 ------ 1 file changed, 6 deletions(-) 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)