From b835fa06a6360004c9fa75e56225fba06b7374f0 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 22 Jun 2024 20:48:07 +0200 Subject: [PATCH] Further black -> deny renaming Signed-off-by: DL6ER --- pihole | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pihole b/pihole index cae0cfb2..00cbd893 100755 --- a/pihole +++ b/pihole @@ -401,12 +401,12 @@ tailFunc() { readonly LOGFILE=$(getFTLConfigValue files.log.dnsmasq) # Strip date from each line - # Color blocklist/blacklist/wildcard entries as red + # Color blocklist/denylist/wildcard entries as red # Color A/AAAA/DHCP strings as white # Color everything else as gray tail -f $LOGFILE | grep --line-buffered "${1}" | sed -E \ -e "s,($(date +'%b %d ')| dnsmasq\[[0-9]*\]),,g" \ - -e "s,(.*(blacklisted |gravity blocked ).*),${COL_RED}&${COL_NC}," \ + -e "s,(.*(denied |gravity blocked ).*),${COL_RED}&${COL_NC}," \ -e "s,.*(query\\[A|DHCP).*,${COL_NC}&${COL_NC}," \ -e "s,.*,${COL_GRAY}&${COL_NC}," exit 0 @@ -478,9 +478,9 @@ Add '-h' after specific commands for more information on usage Domain Options: -a, allowlist Allowlist domain(s) -b, denylist Denylist domain(s) - --regex, regex Regex blacklist domains(s) + --regex, regex Regex denylist domains(s) --allow-regex Regex allowlist domains(s) - --wild, wildcard Wildcard blacklist domain(s) + --wild, wildcard Wildcard denylist domain(s) --allow-wild Wildcard allowlist domain(s) Add '-h' for more info on allowlist/denylist usage