openwrt-6.x/package
Paul Donald bd81d97e19 dnsmasq: add 'extraconftext' parameter
Users can now freely add new dnsmasq parameters (i.e. a whole config)
via extraconf. This means users can add their own parameters without
changes to init or GUI.

Co-opted the default of confdir also to include the instance name.
This way each instance gets its own .d directory (and separate instances
do not all inherit the same 'extraconftext').

Usage:
config dnsmasq 'config'
	...
	option extraconftext 'cache-size=2048\nlog-async=20'

config dnsmasq 'blah'
	...
	option extraconftext 'cache-size=128\nlog-async=5'

or even (which would produce staggered output but still valid)

config dnsmasq 'blah'
	...
	option extraconftext 'cache-size=128
							log-async=5'

See https://forum.openwrt.org/t/add-dnsmasq-custom-options-field-in-luci-gui/193184

Tested on: 23.05.3, 22.03.6

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Tested-by: Vladimir Kochkovski <ask@getvladimir.com>
Link: https://github.com/openwrt/openwrt/pull/14975
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-10-20 21:56:16 +02:00
..
base-files base-files: add ucidef_set_network_device_path_port function 2024-10-19 19:10:56 +02:00
boot uboot-mvebu: update to version 2024.10 2024-10-19 22:54:12 +02:00
devel gdb: Remove MIPS NSIG patch 2024-10-12 21:51:25 +02:00
firmware linux-firmware: add firmware for Realtek RTL8192DU 2024-10-19 17:36:51 +02:00
kernel kernel: gpio-nct5104d: use devm 2024-10-20 13:52:45 +02:00
libs libbpf: bump to 1.4.6 2024-10-13 22:29:11 +03:00
network dnsmasq: add 'extraconftext' parameter 2024-10-20 21:56:16 +02:00
system opkg: update to Git HEAD (2024-10-16) 2024-10-16 13:56:27 +02:00
utils firmware-utils: update to Git HEAD (2024-10-16) 2024-10-19 23:52:45 +02:00
Makefile sdk: fix APK key creation 2024-08-09 01:47:05 +02:00