mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 06:10:20 +00:00
Blacklist unwhitelisted
This commit is contained in:
parent
9aa38cf0ae
commit
16f1d7fad9
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ RemoveDomain(){
|
|||
fi
|
||||
else
|
||||
echo "$1" | sed 's/\./\\./g' | xargs -I {} perl -i -ne'print unless /'{}'(?!.)/;' ${whitelist}
|
||||
#Blacklist unwhitelisted
|
||||
${blacklistScript} $1
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue