projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2798cf
)
dnsmasq: fix service reload
author
John Crispin
<
[email protected]
>
Fri, 16 Dec 2016 09:34:52 +0000
(10:34 +0100)
committer
John Crispin
<
[email protected]
>
Fri, 16 Dec 2016 09:40:10 +0000
(10:40 +0100)
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
854459a2f923376e0e509ebc0fb8ff90e9f13c02
.
Reported-by: Hans Dedecker <
[email protected]
>
Signed-off-by: John Crispin <
[email protected]
>
package/network/services/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/network/services/dnsmasq/files/dnsmasq.init
b/package/network/services/dnsmasq/files/dnsmasq.init
index 67808d5593569f0b5be0b028ae8b272d08aeef8d..174fbd1ae0bb2eba4082bbfbb420266232ac9f83 100644
(file)
--- a/
package/network/services/dnsmasq/files/dnsmasq.init
+++ b/
package/network/services/dnsmasq/files/dnsmasq.init
@@
-785,7
+785,7
@@
dnsmasq_stop()
service_triggers()
{
- procd_add_reload_trigger "dhcp"
"system"
+ procd_add_reload_trigger "dhcp"
procd_add_raw_trigger "interface.*" 2000 /etc/init.d/dnsmasq reload
}
@@
-825,7
+825,6
@@
start_service() {
reload_service() {
rc_procd start_service "$@"
- killall -HUP dnsmasq
return 0
}