mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 18:53:56 +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
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue