Skip to content

Commit

Permalink
Renamed ftl conf file variable
Browse files Browse the repository at this point in the history
  • Loading branch information
markushuber committed Nov 7, 2023
1 parent 6e9e5d1 commit b20ce06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/up-config.functions
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,9 @@ function reset() {
cp "$up_conf_dir/pi-hole/setupVars.conf" "$pihole_setup_file"
fi

if [ -f "$pihole_ftlconf_file" ]; then
mv "$pihole_ftlconf_file" "$pihole_ftlconf_file.backup"
cp "$up_conf_dir/pi-hole/pihole-FTL.conf" "$pihole_ftlconf_file"
if [ -f "$pihole_ftl_conf_file" ]; then
mv "$pihole_ftl_conf_file" "$pihole_ftl_conf_file.backup"
cp "$up_conf_dir/pi-hole/pihole-FTL.conf" "$pihole_ftl_conf_file"
fi

# Backup up4 DNS config file
Expand Down Expand Up @@ -316,7 +316,7 @@ function load_system_information() {
kresd_config_file=/etc/knot-resolver/kresd.conf

pihole_setup_file=/etc/pihole/setupVars.conf
pihole_ftlconf_file=/etc/pihole/pihole-FTL.conf
pihole_ftl_conf_file=/etc/pihole/pihole-FTL.conf
pihole_gravity_db=/etc/pihole/gravity.db
pihole_ftl_db=/etc/pihole/pihole-FTL.db

Expand Down

0 comments on commit b20ce06

Please sign in to comment.