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 <[email protected]>
@@ -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
}