Skip to content
Permalink
Browse files

Remove extra configs from dnsmasq

Should hopefully redirect all traffic to the captive portal
  • Loading branch information...
ConnorRigby committed Jul 24, 2019
1 parent 9b84698 commit 07f366afb7d492f9b0fe37ccefc2d15265dfc4a3
Showing with 0 additions and 6 deletions.
  1. +0 −6 farmbot_os/platform/target/configurator/captive_portal.ex
@@ -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

0 comments on commit 07f366a

Please sign in to comment.
You can’t perform that action at this time.