old commented code removed

This commit is contained in:
borekon 2024-05-31 07:29:26 +00:00
parent ab53c7be75
commit 3c47ec2a74

View File

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