openwrtv4/package/network/services/odhcpd/files/odhcpd-update
Hans Dedecker 00dbfa1764 odhcpd: Use procd_send_signal in odhcpd-update file
Let dnsmasq reread the leasefile by using procd_send_signal
which triggers procd to send SIGHUP kill signal by default
if signal is not specified

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2016-12-21 20:35:49 +01:00

6 lines
134 B
Bash
Executable file

#!/bin/sh
# Make dnsmasq reread hostfile by sending SIGHUP signal
. $IPKG_INSTROOT/lib/functions/procd.sh
procd_send_signal dnsmasq