[LEDE-DEV] [RFC PATCH 0/2] Adjust DHCP/DNS defaults for better consistency

Jo-Philipp Wich jo at mein.io
Wed May 2 09:02:49 PDT 2018

This small patch series changes the default location of various temporary
and automatically generated files used by dnsmasq and odhcpd during normal

The main motivation is to move the /tmp/hosts/ directory out of /tmp/ since
it does not really belong there, it is a directory of dynamic runtime
configuration files and not temporary applicaiton data.

The other changes move the dnsmasq' lease database out of /tmp/ into the
arguably better suited /var/run/ directory and remove uci options from
/etc/config/dhcp that both match their default values and that should not
be changed for normal operation.

Jo-Philipp Wich (2):
  dnsmasq: adjust configuration defaults
  odhcpd: adjust configuration default

 package/network/services/dnsmasq/files/dhcp.conf      | 2 --
 package/network/services/dnsmasq/files/dnsmasq.init   | 6 +++---
 package/network/services/odhcpd/files/odhcpd.defaults | 2 +-
 3 files changed, 4 insertions(+), 6 deletions(-)


More information about the Lede-dev mailing list