diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2018-05-24 10:27:07 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-05-24 10:29:58 +0200 |
commit | fdeba0e0efd5ce60baf1103d99f3c15a803e9ef8 (patch) | |
tree | 42bd5902e797a9123877cfe42e90adddd34cbf31 /package/network/services | |
parent | c97189e26dfb9b0eaf5b9cd7e33a99e2f780cb58 (diff) | |
download | upstream-fdeba0e0efd5ce60baf1103d99f3c15a803e9ef8.tar.gz upstream-fdeba0e0efd5ce60baf1103d99f3c15a803e9ef8.tar.bz2 upstream-fdeba0e0efd5ce60baf1103d99f3c15a803e9ef8.zip |
Revert "dnsmasq: use "hostsdir" instead of "addn-hosts""
This reverts commit c97189e26dfb9b0eaf5b9cd7e33a99e2f780cb58
as it has different issues:
-Host file is not written in a directory unique per dnsmasq instance
-odhcpd writes host info into the same directory but still sends a SIGHUP to dnsmasq
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/network/services')
-rw-r--r-- | package/network/services/dnsmasq/files/dnsmasq.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 24455ee7d9..2c71a777c3 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -938,7 +938,7 @@ dnsmasq_start() xappend "--dhcp-broadcast=tag:needs-broadcast" - xappend "--hostsdir=$(dirname $HOSTFILE)" + xappend "--addn-hosts=$(dirname $HOSTFILE)" config_get dnsmasqconfdir "$cfg" confdir "/tmp/dnsmasq.d" [ ! -d "$dnsmasqconfdir" ] && mkdir -p $dnsmasqconfdir |