|
|
@ -83,7 +83,6 @@ PI_HOLE_INSTALL_DIR="/opt/pihole"
|
|
|
|
PI_HOLE_CONFIG_DIR="/etc/pihole"
|
|
|
|
PI_HOLE_CONFIG_DIR="/etc/pihole"
|
|
|
|
PI_HOLE_BIN_DIR="/usr/local/bin"
|
|
|
|
PI_HOLE_BIN_DIR="/usr/local/bin"
|
|
|
|
FTL_CONFIG_FILE="${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf"
|
|
|
|
FTL_CONFIG_FILE="${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf"
|
|
|
|
FTL_PID_FILE="/run/pihole/FTL.pid"
|
|
|
|
|
|
|
|
if [ -z "$useUpdateVars" ]; then
|
|
|
|
if [ -z "$useUpdateVars" ]; then
|
|
|
|
useUpdateVars=false
|
|
|
|
useUpdateVars=false
|
|
|
|
fi
|
|
|
|
fi
|
|
|
@ -1852,9 +1851,6 @@ finalExports() {
|
|
|
|
# Set the privacy level
|
|
|
|
# Set the privacy level
|
|
|
|
addOrEditKeyValPair "${FTL_CONFIG_FILE}" "PRIVACYLEVEL" "${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
|
|
|
|
# Bring in the current settings and the functions to manipulate them
|
|
|
|
source "${setupVars}"
|
|
|
|
source "${setupVars}"
|
|
|
|
# shellcheck source=advanced/Scripts/webpage.sh
|
|
|
|
# shellcheck source=advanced/Scripts/webpage.sh
|
|
|
|