dnsmasq: add 'scriptarp' option
authorJordan Sokolic <oofnik@gmail.com>
Thu, 19 Mar 2020 12:23:22 +0000 (14:23 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Mon, 30 Mar 2020 00:44:20 +0000 (20:44 -0400)
commit1d87c81f9efb449139243bcefc0164afa13f401a
treea0fe4154f851346f7259e445c5aeb6ba9a224091
parent090a98b0a0a07a63918adf6cd9800f655d34eec5
dnsmasq: add 'scriptarp' option

Add option 'scriptarp' to uci dnsmasq config to enable --script-arp functions.
The default setting is false, meaning any scripts in `/etc/hotplug.d/neigh` intended
to be triggered by `/usr/lib/dnsmasq/dhcp-script.sh` will fail to execute.

Also enable --script-arp if has_handlers returns true.

Signed-off-by: Jordan Sokolic <oofnik@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dnsmasq.init