hi:
under openwrt, I can just delete /etc/config/dhcp, and system will use /etc/dnsmasq.conf automatically.
under LEDE 17.01.4, if I delete /etc/config/dhcp, dnsmasq will not start. if I create /etc/config/dhcp with single line "config dnsmasq", then dnsmasq will create config file at //var/etc/dnsmasq.conf.xxxx with content like below:
to use plain /etc/dnsmasq.conf, the generated configuration file should contain only one line "conf-file=/etc/dnsmasq.conf". or the configuration will conflict.
service dnsmasq disable
service dnsmasq stop
cp /etc/init.d/dnsmasq /etc/init.d/dnsmasq_mod
vi /etc/init.d/dnsmasq_mod
service dnsmasq_mod enable
service dnsmasq_mod start
hi:
that's how I work around the problem. but I wish the developer can find out how to make plain dnsmasq.conf working, just like openwrt 15.05. someone may like to use /etc/config/dhcp, but others may prefer stay on original dnsmasq.conf. it is possible to make both world happy, just like openwrt 15.05.