From 93227e4d3fb81332f1dcb6eaa158ddf914ca67a6 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 16 Dec 2016 10:34:52 +0100 Subject: [PATCH] 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 854459a2f923376e0e509ebc0fb8ff90e9f13c02. Reported-by: Hans Dedecker Signed-off-by: John Crispin --- package/network/services/dnsmasq/files/dnsmasq.init | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 67808d559356..174fbd1ae0bb 100644 --- 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 } -- 2.30.2