[PATCH v2 1/2] conf-parser: add support for .d directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4 December 2015 at 02:58, Tanu Kaskinen <tanuk at iki.fi> wrote:
> + * If use_dot_d is true, then before parsing the file named by the filename
> + * argument, the function will parse all files ending with ".conf" in
> + * alphabetical order from a directory whose name is filename + ".d", if such
> + * directory exists.

This is opposite to how other software (eg systemd) work: first the
main file is read, and then the .d/*.conf files are read to override
the configurations.

So if a distro default has an uncommented line, the .d should override
that line. This would allow (in the future) to extend the search path
to /usr/share/pulseaudio, and ship the defaults (uncommented) there.
Then local configuration can be done via dropin files.

-- 

Saludos,
Felipe Sateler


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux