odhcpd: setup dhcpv4 server automagically
authorDaniel Golle <daniel@makrotopia.org>
Sun, 14 Feb 2021 22:39:24 +0000 (22:39 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 15 Feb 2021 00:34:43 +0000 (00:34 +0000)
commitd79eeba6887b69d6ee608480d267bd1bef768cb7
tree32449af0bec5c2e0362473c7c884083b93fe32e3
parent304df2836a2c02a5f63df64d8b23100d6baaa3d3
odhcpd: setup dhcpv4 server automagically

Automatically setup dhcpv4 server just like it's done for dhcpv6.
To select whether odhcpd or dnsmasq are serving DHCPv4 requests there
still is the 'maindhcp' option. To make things less confusing, make
sure things really work out-of-the-box in case dnsmasq is not even
installed at the time the uci-defaults script is being run.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/network/services/odhcpd/Makefile
package/network/services/odhcpd/files/odhcpd.defaults