use pihole instead of direct path

This commit is contained in:
tuplink 2016-10-20 06:30:48 -04:00
parent 41056ace02
commit bbcf4800de

View file

@ -99,6 +99,7 @@ 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}
#reload gravity to pickup any entries this may have removed
pihole -g pihole -g
fi fi
} }