From 1cad06905074a03c662c86f683a8a5ef7f248bd6 Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Mon, 10 Dec 2018 10:18:25 -0500 Subject: [PATCH] Add privacy level 4 to all privacy level code Signed-off-by: Mcat12 --- advanced/Scripts/webpage.sh | 2 +- advanced/bash-completion/pihole | 2 +- manpages/pihole-FTL.conf.5 | 6 ++++-- manpages/pihole.8 | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index 7b73d243..c6852896 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -36,7 +36,7 @@ Options: -e, email Set an administrative contact address for the Block Page -h, --help Show this help dialog -i, interface Specify dnsmasq's interface listening behavior - -l, privacylevel Set privacy level (0 = lowest, 3 = highest)" + -l, privacylevel Set privacy level (0 = lowest, 4 = highest)" exit 0 } diff --git a/advanced/bash-completion/pihole b/advanced/bash-completion/pihole index c25c570b..7ba0dad8 100644 --- a/advanced/bash-completion/pihole +++ b/advanced/bash-completion/pihole @@ -56,7 +56,7 @@ _pihole() { ;; "privacylevel") if ( [[ "$prev2" == "admin" ]] || [[ "$prev2" == "-a" ]] ); then - opts_privacy="0 1 2 3" + opts_privacy="0 1 2 3 4" COMPREPLY=( $(compgen -W "${opts_privacy}" -- ${cur}) ) else return 1 diff --git a/manpages/pihole-FTL.conf.5 b/manpages/pihole-FTL.conf.5 index 50536279..218f5e7a 100644 --- a/manpages/pihole-FTL.conf.5 +++ b/manpages/pihole-FTL.conf.5 @@ -64,7 +64,7 @@ pihole-FTL.conf - FTL's config file On which port should FTL be listening? .br -\fBPRIVACYLEVEL=0|1|2|3\fR +\fBPRIVACYLEVEL=0|1|2|3|4\fR .br Which privacy level is used? .br @@ -74,7 +74,9 @@ pihole-FTL.conf - FTL's config file .br 2 - hide domains and clients .br - 3 - paranoia mode (hide everything) + 3 - anonymous mode (hide everything) +.br + 4 - disable all statistics .br \fBIGNORE_LOCALHOST=no|yes\fR diff --git a/manpages/pihole.8 b/manpages/pihole.8 index e0845387..bd7d0933 100644 --- a/manpages/pihole.8 +++ b/manpages/pihole.8 @@ -134,7 +134,7 @@ Available commands and options: -i, interface Specify dnsmasq's interface listening behavior .br -l, privacylevel Set privacy level - (0 = lowest, 3 = highest) + (0 = lowest, 4 = highest) .br \fB-c, chronometer\fR [options]