[pulseaudio-discuss] [PATCH v2 1/2] conf-parser: add support for .d directories
Felipe Sateler
fsateler at debian.org
Fri Dec 4 04:29:23 PST 2015
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
More information about the pulseaudio-discuss
mailing list