The fix requires the use of the generated dnsmasq `lancache.conf` file.
So I moved configuration of the hosts directory out of the UCI and into
the generated dnsmasq configuration file to simplify the script.
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
* The upstream script changed to use `.hosts` files from `.conf` files,
so changes were required to make dnsmasq use the new file format.
* Added a default wolfssl variant.
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
I've noticed that in deployment on some reboots it won't configure,
This seems to be due to running before the system/network is ready.
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
Since we have to restart dnsmasq to reload the config anyway, this
package doesn't need to run before anything. We do however need to
wait for the network so I've changed this service to be a hotplug
script and utility script.
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>