From 9739349d33d878c30c3ecbb3fd15af17b7733ab0 Mon Sep 17 00:00:00 2001 From: pezcurrel Date: Wed, 18 Dec 2019 17:52:27 +0100 Subject: [PATCH] Fissato bacherozzo --- mastblocksdump/mastblocksmerge.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mastblocksdump/mastblocksmerge.sh b/mastblocksdump/mastblocksmerge.sh index d793337..3fcfc66 100755 --- a/mastblocksdump/mastblocksmerge.sh +++ b/mastblocksdump/mastblocksmerge.sh @@ -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