dnsmasq: fix service reload
The SIGHUP also got sent to the reload script making it bail out
with an error
Revert "dnsmasq: reload config if host name is modified"
This reverts commit 854459a2f9
.
Reported-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
a2798cff0f
commit
93227e4d3f
@ -785,7 +785,7 @@ dnsmasq_stop()
|
|||||||
|
|
||||||
service_triggers()
|
service_triggers()
|
||||||
{
|
{
|
||||||
procd_add_reload_trigger "dhcp" "system"
|
procd_add_reload_trigger "dhcp"
|
||||||
procd_add_raw_trigger "interface.*" 2000 /etc/init.d/dnsmasq reload
|
procd_add_raw_trigger "interface.*" 2000 /etc/init.d/dnsmasq reload
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -825,7 +825,6 @@ start_service() {
|
|||||||
|
|
||||||
reload_service() {
|
reload_service() {
|
||||||
rc_procd start_service "$@"
|
rc_procd start_service "$@"
|
||||||
killall -HUP dnsmasq
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user