conf: load the card specific configurations to the config sub-tree

The /var/lib/alsa/card<CARDNO>.conf.d configurations are loaded
to the cards.<CARDNO> tree only (overwrite mode).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2021-05-13 11:04:14 +02:00
parent 1aef5a8f8a
commit ffb401ba22
2 changed files with 77 additions and 26 deletions

View file

@ -59,12 +59,17 @@ cards.@hooks [
]
}
{
@func concat
strings [
"/var/lib/alsa/card"
{ @func private_integer }
".conf.d"
]
root {
@func private_integer
}
file {
@func concat
strings [
"/var/lib/alsa/card"
{ @func private_integer }
".conf.d"
]
}
}
]
table {