diff options
author | Florian Eckert <fe@dev.tdt.de> | 2017-12-19 15:08:48 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-12-26 23:35:34 +0100 |
commit | 4f02285d8b4a66359a8fa46f22a3efde391b5419 (patch) | |
tree | 47ccd3d41424fb2716cbc3e6dbfea345b16ffb2d /package/network/services | |
parent | 2e237338384847a88362317bd769b1b84242e16c (diff) | |
download | upstream-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.init | 2 |
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 } |