aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2017-12-19 15:08:48 +0100
committerHans Dedecker <dedeckeh@gmail.com>2017-12-26 23:35:34 +0100
commit4f02285d8b4a66359a8fa46f22a3efde391b5419 (patch)
tree47ccd3d41424fb2716cbc3e6dbfea345b16ffb2d /package/network/services
parent2e237338384847a88362317bd769b1b84242e16c (diff)
downloadupstream-4f02285d8b4a66359a8fa46f22a3efde391b5419.tar.gz
upstream-4f02285d8b4a66359a8fa46f22a3efde391b5419.tar.bz2
upstream-4f02285d8b4a66359a8fa46f22a3efde391b5419.zip
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 <fe@dev.tdt.de>
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/dnsmasq/files/dnsmasq.init2
1 files changed, 1 insertions, 1 deletions
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
}