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