Make dnsmasq watchout script better respect captive portal and AP settings