Update comments on the move of /etc/dnsmasq.old -> /etc/dnsmasq.old to better reflect why we are doing it

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2023-01-15 11:33:53 +00:00
parent 019be067d9
commit b8acccde90
No known key found for this signature in database

View file

@ -1159,7 +1159,8 @@ remove_old_dnsmasq_ftl_configs() {
# If the dnsmasq config file exists # If the dnsmasq config file exists
if [[ -f "${dnsmasq_conf}" ]]; then if [[ -f "${dnsmasq_conf}" ]]; then
# Back it up - we will need to add a symlink to /etc/pihole/dnsmasq.conf later # There should not be anything custom in here for Pi-hole users
# It is no longer needed, but we'll back it up instead of deleting it just in case
mv "${dnsmasq_conf}" "${dnsmasq_conf}.old" mv "${dnsmasq_conf}" "${dnsmasq_conf}.old"
fi fi