dnsmasq: fix service reload
[openwrt/openwrt.git] / package / network / services / dnsmasq / files / dnsmasq.init
index 67808d5..174fbd1 100644 (file)
@@ -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
 }