Remove extra configs from dnsmasq

Should hopefully redirect all traffic to the captive portal
pull/974/head
Connor Rigby 2019-07-24 09:42:17 -07:00
parent 2f13c2ab9c
commit e80ae41b6b
No known key found for this signature in database
GPG Key ID: 29A88B24B70456E0
1 changed files with 0 additions and 6 deletions

View File

@ -41,14 +41,8 @@ defmodule FarmbotOS.Platform.Target.Configurator.CaptivePortal do
dnsmasq_pid_file = Path.join(tmpdir, "dnsmasq.pid.#{ifname}")
dnsmasq_conf_contents = """
no-resolv
no-hosts
no-poll
interface=#{ifname}
address=/#/#{config[:address]}
server=/#{config[:domain]}/#{config[:server]}
local=/#{config[:domain]}/
domain=#{config[:domain]}
dhcp-option=3,#{config[:address]}
dhcp-option=6,#{config[:address]}
dhcp-range=#{config[:start]},#{config[:end]},12h