From c091083fbec3e1c34fe0d7e03c25b37e52aab98f Mon Sep 17 00:00:00 2001 From: Orazio <22700499+orazioedoardo@users.noreply.github.com> Date: Fri, 3 Feb 2023 16:17:12 +0100 Subject: [PATCH] Do not hardcode FTL PID file path Signed-off-by: Orazio <22700499+orazioedoardo@users.noreply.github.com> --- automated install/basic-install.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index b1d032ff..6bb8e363 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -83,7 +83,6 @@ PI_HOLE_INSTALL_DIR="/opt/pihole" PI_HOLE_CONFIG_DIR="/etc/pihole" PI_HOLE_BIN_DIR="/usr/local/bin" FTL_CONFIG_FILE="${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf" -FTL_PID_FILE="/run/pihole/FTL.pid" if [ -z "$useUpdateVars" ]; then useUpdateVars=false fi @@ -1852,9 +1851,6 @@ finalExports() { # Set the privacy level addOrEditKeyValPair "${FTL_CONFIG_FILE}" "PRIVACYLEVEL" "${PRIVACY_LEVEL}" - # Set the PID file path - addOrEditKeyValPair "${FTL_CONFIG_FILE}" "PIDFILE" "${FTL_PID_FILE}" - # Bring in the current settings and the functions to manipulate them source "${setupVars}" # shellcheck source=advanced/Scripts/webpage.sh