spelling: suppressing

This commit is contained in:
Josh Soref 2017-04-02 22:52:05 +00:00
parent 1f8082f31d
commit b48100bb3c

View file

@ -31,7 +31,7 @@ awk '{sub(/\r$/,"");print $1,$2}' "$TEMP"|sort -u > "$TEMP_SORTED"
#Filter (if applicable) #Filter (if applicable)
if [ -s "/var/lib/dnsmasq/white.list" ] if [ -s "/var/lib/dnsmasq/white.list" ]
then then
#Filter the blacklist, supressing whitelist matches #Filter the blacklist, suppressing whitelist matches
# This is relatively slow =-( # This is relatively slow =-(
echo 'Filtering white list...' echo 'Filtering white list...'
egrep -v "^[[:space:]]*$" /var/lib/dnsmasq/white.list | awk '/^[^#]/ {sub(/\r$/,"");print $1}' | grep -vf - "$TEMP_SORTED" > /var/lib/dnsmasq/block.hosts egrep -v "^[[:space:]]*$" /var/lib/dnsmasq/white.list | awk '/^[^#]/ {sub(/\r$/,"");print $1}' | grep -vf - "$TEMP_SORTED" > /var/lib/dnsmasq/block.hosts