mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
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>
This commit is contained in:
parent
2e23733838
commit
4f02285d8b
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user