Don't save `interface=` line to `dnsmasq`s config file

pull/1273/head
DL6ER 7 years ago
parent aee106ae69
commit ec7e75a6e3
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -32,8 +32,6 @@ no-resolv
server=@DNS1@
server=@DNS2@
interface=@INT@
cache-size=10000
log-queries

@ -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

Loading…
Cancel
Save