You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hux ecd954d530 dnsmasq: add specific interface procd triggers
Right now interface.update events are sent out by netifd upon interface state,
route, address (lifetime), prefix lifetime changes.
Dnsmasq is only interested in interface state changes and currently adds an
interface trigger for all the "interface.*" events.
In combination with commit 23bba9cb33, which triggers a SIGHUP signal to dnsmasq,
IPv6 address/prefix lifetime changes on the wan will trigger dnsmasq reloads which
can become frequent in case of shorter lifetimes.

To avoid frequent dnsmasq reload, this patch adds specific interface triggers.
During dnsmasq init it loops dhcp uci section; if the value of the ignore option
is set to 0, then the corresponding interface trigger is not installed.
Otherwise, if the ignore option value is 1, then procd_add_interface_trigger is
called which adds the interface trigger.

Signed-off-by: hux <xinxing.huchn@gmail.com>
6 years ago
..
dhcp-script.sh dnsmasq: add dhcp-script hook for other packages 7 years ago
dhcp.conf dnsmasq: make bind-dynamic 'non-wildcard' interfaces default 7 years ago
dnsmasq.conf packages: sort network related packages into package/network/ 12 years ago
dnsmasq.init dnsmasq: add specific interface procd triggers 6 years ago
dnsmasq_acl.json dnsmasq: add ubus notifications for new leases 7 years ago
dnsmasqsec.hotplug dnsmasq: use SIGINT for dnssec time valid 7 years ago
rfc6761.conf dnsmasq: remove example domains from rfc6761.conf (FS#1447) 6 years ago