From ec7e75a6e3a6c2eac0782c57b795c2137d1b3a1f Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 24 Feb 2017 16:02:24 +0100 Subject: [PATCH] Don't save `interface=` line to `dnsmasq`s config file --- advanced/01-pihole.conf | 2 -- automated install/basic-install.sh | 1 - 2 files changed, 3 deletions(-) diff --git a/advanced/01-pihole.conf b/advanced/01-pihole.conf index 0ddf1caa..484f444c 100644 --- a/advanced/01-pihole.conf +++ b/advanced/01-pihole.conf @@ -32,8 +32,6 @@ no-resolv server=@DNS1@ server=@DNS2@ -interface=@INT@ - cache-size=10000 log-queries diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 51390a5e..763c2af2 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -608,7 +608,6 @@ version_check_dnsmasq() { echo -n "::: Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf..." cp ${dnsmasq_pihole_01_snippet} ${dnsmasq_pihole_01_location} echo " done." - sed -i "s/@INT@/$PIHOLE_INTERFACE/" ${dnsmasq_pihole_01_location} if [[ "${PIHOLE_DNS_1}" != "" ]]; then sed -i "s/@DNS1@/$PIHOLE_DNS_1/" ${dnsmasq_pihole_01_location} else