diff options
author | John Crispin <john@phrozen.org> | 2016-12-16 10:34:52 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-12-16 10:40:10 +0100 |
commit | 93227e4d3fb81332f1dcb6eaa158ddf914ca67a6 (patch) | |
tree | 81d7709ce81925769420d90f7907bbdec60f99ca /package | |
parent | a2798cff0f67349d7c1fe26f339439431188ec15 (diff) | |
download | upstream-93227e4d3fb81332f1dcb6eaa158ddf914ca67a6.tar.gz upstream-93227e4d3fb81332f1dcb6eaa158ddf914ca67a6.tar.bz2 upstream-93227e4d3fb81332f1dcb6eaa158ddf914ca67a6.zip |
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 <dedeckeh@gmail.com>
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package')
-rw-r--r-- | package/network/services/dnsmasq/files/dnsmasq.init | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 67808d5593..174fbd1ae0 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 } |