From 36601eef3a36ca86bd85d9e438b8b4ea51be2cf2 Mon Sep 17 00:00:00 2001 From: RD WebDesign Date: Sun, 1 Mar 2026 17:26:20 -0300 Subject: [PATCH] Remove `readonly` from piholeNetworkFlush.sh to avoid error message This is a quick fix to avoid the error when api.sh tries to set the variable again. Signed-off-by: RD WebDesign --- advanced/Scripts/piholeNetworkFlush.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/piholeNetworkFlush.sh b/advanced/Scripts/piholeNetworkFlush.sh index a8721476..a156362d 100755 --- a/advanced/Scripts/piholeNetworkFlush.sh +++ b/advanced/Scripts/piholeNetworkFlush.sh @@ -15,7 +15,7 @@ if [[ -f ${coltable} ]]; then source ${coltable} fi -readonly PI_HOLE_SCRIPT_DIR="/opt/pihole" +PI_HOLE_SCRIPT_DIR="/opt/pihole" utilsfile="${PI_HOLE_SCRIPT_DIR}/utils.sh" # shellcheck source=./advanced/Scripts/utils.sh source "${utilsfile}"