From 005da06b3d4cd399aa2c0a6d226df586f087cfcf Mon Sep 17 00:00:00 2001 From: "Thomas L. Kjeldsen" Date: Sat, 30 May 2020 02:38:22 +0200 Subject: [PATCH] Use PI_HOLE_BIN_DIR as introduced in PR #2886 Signed-off-by: Thomas L. Kjeldsen --- advanced/Scripts/pihole-reenable.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/advanced/Scripts/pihole-reenable.sh b/advanced/Scripts/pihole-reenable.sh index dbadc860..4a6ff88c 100755 --- a/advanced/Scripts/pihole-reenable.sh +++ b/advanced/Scripts/pihole-reenable.sh @@ -12,5 +12,7 @@ # This file is copyright under the latest version of the EUPL. # Please see LICENSE file for your rights under this license. +readonly PI_HOLE_BIN_DIR="/usr/local/bin" + sleep "${1}" -pihole enable +"${PI_HOLE_BIN_DIR}"/pihole enable