aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2016-12-26 22:21:52 +0100
committerHans Dedecker <dedeckeh@gmail.com>2016-12-26 22:32:38 +0100
commitbdd2b67414d11372d3f5a1185c73aa290c75c034 (patch)
treeeba42ee176d4010ee14f16e9355448dce45d4470
parentd3489d899a6086d9f601e094037c17625efbbbf2 (diff)
downloadupstream-bdd2b67414d11372d3f5a1185c73aa290c75c034.tar.gz
upstream-bdd2b67414d11372d3f5a1185c73aa290c75c034.tar.bz2
upstream-bdd2b67414d11372d3f5a1185c73aa290c75c034.zip
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 <dedeckeh@gmail.com>
-rw-r--r--package/network/services/odhcpd/files/odhcpd.init2
1 files changed, 1 insertions, 1 deletions
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()