From 9d04c517e6647625f4a363e0aa8f0fcfd817f6d5 Mon Sep 17 00:00:00 2001 From: Frank Riley Date: Wed, 20 May 2020 15:47:40 -0700 Subject: [PATCH] Reload the lists, which will cause the cached privacy level to be updated. Signed-off-by: Frank Riley --- advanced/Scripts/webpage.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index b1d18a0a..6a8fa64d 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -600,6 +600,7 @@ SetPrivacyLevel() { # Set privacy level. Minimum is 0, maximum is 4 if [ "${args[2]}" -ge 0 ] && [ "${args[2]}" -le 4 ]; then changeFTLsetting "PRIVACYLEVEL" "${args[2]}" + pihole restartdns reload-lists fi }