mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-22 13:02:02 +00:00
Blacklist unwhitelisted
This commit is contained in:
parent
9aa38cf0ae
commit
16f1d7fad9
@ -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 New Issue
Block a user