From 2e4aee23b9a124894830a9c54fe4bd2f12ff40ce Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 6 Apr 2021 21:05:31 +0200 Subject: [PATCH] conf: add /var/lib/alsa/card.conf.d directory lookups It may be handy to put extra configurations or symlinks to the global runtime directory. The configurations may be created at boot / hotplug event by udev or other scripts. Signed-off-by: Jaroslav Kysela --- src/conf/alsa.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/conf/alsa.conf b/src/conf/alsa.conf index 123874aa..962864bc 100644 --- a/src/conf/alsa.conf +++ b/src/conf/alsa.conf @@ -57,6 +57,14 @@ cards.@hooks [ ".conf" ] } + { + @func concat + strings [ + "/var/lib/alsa/card" + { @func private_integer } + ".conf.d" + ] + } ] errors false }