From: Florian Eckert Date: Tue, 19 Dec 2017 14:08:48 +0000 (+0100) Subject: dnsmasq: rewrite config on host name modification X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f02285d8b4a66359a8fa46f22a3efde391b5419;p=librecmc%2Flibrecmc.git dnsmasq: rewrite config on host name modification If the hostname in /etc/config/system is modified the dnsmasq should also get triggered to rewrite/reload the config. Signed-off-by: Florian Eckert --- diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index b84f531ac0..204e27d9cf 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -1044,7 +1044,7 @@ dnsmasq_stop() service_triggers() { - procd_add_reload_trigger "dhcp" + procd_add_reload_trigger "dhcp" "system" procd_add_raw_trigger "interface.*" 2000 /etc/init.d/dnsmasq reload }