|
|
@ -11,8 +11,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
readonly PI_HOLE_SCRIPT_DIR="/opt/pihole"
|
|
|
|
readonly PI_HOLE_SCRIPT_DIR="/opt/pihole"
|
|
|
|
|
|
|
|
|
|
|
|
# setupVars and PI_HOLE_BIN_DIR are not readonly here because in some funcitons (checkout),
|
|
|
|
# setupVars and PI_HOLE_BIN_DIR are not readonly here because in some functions (checkout),
|
|
|
|
# it might get set again when the installer is sourced. This causes an
|
|
|
|
# they might get set again when the installer is sourced. This causes an
|
|
|
|
# error due to modifying a readonly variable.
|
|
|
|
# error due to modifying a readonly variable.
|
|
|
|
setupVars="/etc/pihole/setupVars.conf"
|
|
|
|
setupVars="/etc/pihole/setupVars.conf"
|
|
|
|
PI_HOLE_BIN_DIR="/usr/local/bin"
|
|
|
|
PI_HOLE_BIN_DIR="/usr/local/bin"
|
|
|
|