Blacklist unwhitelisted

This commit is contained in:
tuplink 2016-10-19 21:50:34 -04:00
parent 9aa38cf0ae
commit 16f1d7fad9

View file

@ -99,6 +99,8 @@ RemoveDomain(){
fi fi
else else
echo "$1" | sed 's/\./\\./g' | xargs -I {} perl -i -ne'print unless /'{}'(?!.)/;' ${whitelist} echo "$1" | sed 's/\./\\./g' | xargs -I {} perl -i -ne'print unless /'{}'(?!.)/;' ${whitelist}
#Blacklist unwhitelisted
${blacklistScript} $1
fi fi
} }