From: Hans Dedecker Date: Mon, 26 Dec 2016 21:21:52 +0000 (+0100) Subject: odhcpd: Use procd_send_signal in reload_service X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bdd2b67414d11372d3f5a1185c73aa290c75c034;p=openwrt%2Fstaging%2Fdangole.git odhcpd: Use procd_send_signal in reload_service Replace killall HUP by procd_send_signal in reload_service to trigger an odhcpd config reload Signed-off-by: Hans Dedecker --- diff --git a/package/network/services/odhcpd/files/odhcpd.init b/package/network/services/odhcpd/files/odhcpd.init index bbbec9c232..e05c3860c4 100644 --- a/package/network/services/odhcpd/files/odhcpd.init +++ b/package/network/services/odhcpd/files/odhcpd.init @@ -12,7 +12,7 @@ start_service() { } reload_service() { - killall -HUP odhcpd + procd_send_signal odhcpd } service_triggers()