odhcpd: Fix dnsmasq re-reading hostfile
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 17 Nov 2016 12:34:34 +0000 (13:34 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 13 Dec 2016 22:32:57 +0000 (23:32 +0100)
commita7c2310278c3554e78f26f6f84803669d9573dc6
tree0e82ae39a16f65f28e01170f17d7d928e83d2f2b
parent942904f7b9363f231a9623d7d5501ae0cc7184d2
odhcpd: Fix dnsmasq re-reading hostfile

Depending on the dhcp uci config pidof dnsmasq can return
multiple pids. Fix re-reading of the hostfile by dnsmasq in
such case by sending SIGHUP signal to each of the returned
pids.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
package/network/services/odhcpd/Makefile
package/network/services/odhcpd/files/odhcpd-update