dnsmasq: override directory support #3973
This commit is contained in:
parent
f45444b94c
commit
2c03773060
1
plist
1
plist
|
@ -6,6 +6,7 @@
|
|||
/usr/local/etc/dh-parameters.2048.rfc7919
|
||||
/usr/local/etc/dh-parameters.3072.rfc7919
|
||||
/usr/local/etc/dh-parameters.4096.rfc7919
|
||||
/usr/local/etc/dnsmasq.conf.d/README
|
||||
/usr/local/etc/inc/IPv6.inc
|
||||
/usr/local/etc/inc/XMLRPC_Client.inc
|
||||
/usr/local/etc/inc/auth.inc
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
# Dnsmasq plugin directory:
|
||||
# Add your *.conf files here, read in alphabetical order
|
|
@ -184,6 +184,8 @@ function dnsmasq_configure_do($verbose = false)
|
|||
$args .= ' --log-queries=extra ';
|
||||
}
|
||||
|
||||
$args .= ' --conf-dir=/usr/local/etc/dnsmasq.conf.d,\*.conf ';
|
||||
|
||||
if (!empty($config['dnsmasq']['custom_options'])) {
|
||||
foreach (preg_split('/\s+/', $config['dnsmasq']['custom_options']) as $c) {
|
||||
if (!empty($c)) {
|
||||
|
|
Loading…
Reference in New Issue