|
|
|
@ -1237,7 +1237,7 @@ installConfigs() {
|
|
|
|
|
echo -e " ${INFO} Installing configs from ${PI_HOLE_LOCAL_REPO}..."
|
|
|
|
|
# Make sure Pi-hole's config files are in place
|
|
|
|
|
version_check_dnsmasq
|
|
|
|
|
# Install template if it does not exist
|
|
|
|
|
# Install empty file if it does not exist
|
|
|
|
|
if [[ ! -f "${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf" ]]; then
|
|
|
|
|
if ! install -o pihole -g pihole -m 664 /dev/null "${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf" &>/dev/nul; then
|
|
|
|
|
echo -e " ${COL_LIGHT_RED}Error: Unable to initialize configuration file ${PI_HOLE_CONFIG_DIR}/pihole-FTL.conf"
|
|
|
|
|