1
0
Fork 0

Fissato bacherozzo

This commit is contained in:
pezcurrel 2019-12-18 17:52:27 +01:00
parent 3c6a1bb6ea
commit 9739349d33

View file

@ -122,8 +122,8 @@ DB_PASS=`grep 'DB_PASS' "$MASTENVFP"|sed -e 's/[^=]*=//'`
IFS=$'\n'
for sisdom in $(grep -P '^[^#]+[^\s]+' "$SISTERSFP"); do
# blocks="$(curl -s "https://$sisdom/domain_blocks.txt" | grep -P '^[^#]+[^\s]+')"
blocks=$(cat "$sisdom" | grep -P '^[^#]+[^\s]+')
blocks="$(curl -s "https://$sisdom/domain_blocks.txt" | grep -P '^[^#]+[^\s]+')"
# blocks=$(cat "$sisdom" | grep -P '^[^#]+[^\s]+')
for line in $blocks; do
echo "$allblocks"|grep -F "$line" &>/dev/null
if [ $? -ne 0 ]; then