From c81d690be4b0537b60ec96cb8caeff01325cc1c3 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 28 Dec 2019 13:30:57 +0000 Subject: [PATCH] Add /etc/hosts to teleporter export. Signed-off-by: DL6ER --- scripts/pi-hole/php/teleporter.php | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/pi-hole/php/teleporter.php b/scripts/pi-hole/php/teleporter.php index 5d3227e7..7c34c47f 100644 --- a/scripts/pi-hole/php/teleporter.php +++ b/scripts/pi-hole/php/teleporter.php @@ -415,6 +415,7 @@ else archive_add_table("domain_audit.json", "domain_audit"); archive_add_file("/etc/pihole/","setupVars.conf"); archive_add_file("/etc/pihole/","dhcp.leases"); + archive_add_file("/etc/","hosts","etc/"); archive_add_directory("/etc/dnsmasq.d/","dnsmasq.d/"); $archive->compress(Phar::GZ); // Creates a gziped copy