[LEDE-DEV] [PATCH v2] dnsmasq: also write /tmp/resolv.conf when UCI dhcp.dnsmasq.noresolv is '1'

Bastian Bittorf bb at npl.de
Mon May 15 00:31:23 PDT 2017


* Bastian Bittorf <bb at npl.de> [15.05.2017 09:27]:
> > +	[ "$noreolv" -eq '1' -o "$resolvfile" = "/tmp/resolv.conf.auto" ] && {
> 
> thanks for the patch!
> 
> please test for 'bool_true' not for 1

sorry for the noise, this is already normalized by
config_get_bool() - so testing for 0 or 1 is fine.

bye, bastian



More information about the Lede-dev mailing list