old commented code removed
This commit is contained in:
parent
ab53c7be75
commit
3c47ec2a74
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user