mirror of https://github.com/hak5/openwrt.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 <dedeckeh@gmail.com>lede-17.01
parent
d3489d899a
commit
bdd2b67414
|
@ -12,7 +12,7 @@ start_service() {
|
||||||
}
|
}
|
||||||
|
|
||||||
reload_service() {
|
reload_service() {
|
||||||
killall -HUP odhcpd
|
procd_send_signal odhcpd
|
||||||
}
|
}
|
||||||
|
|
||||||
service_triggers()
|
service_triggers()
|
||||||
|
|
Loading…
Reference in New Issue