[PATCH alsa-lib] conf: Add /usr/etc to the default search paths

Takashi Iwai tiwai at suse.de
Fri Jun 19 19:22:12 CEST 2020


There's been some recent action to move the distribution-default setup
from /etc to /usr/etc, and we should follow that, too.

This patch adds /usr/etc/alsa.conf.d and /usr/etc/alsa.conf to the
default search paths.

Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
 src/conf/alsa.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/conf/alsa.conf b/src/conf/alsa.conf
index 18427ec6c4c6..aea1fe24f73c 100644
--- a/src/conf/alsa.conf
+++ b/src/conf/alsa.conf
@@ -8,6 +8,8 @@
 	{
 		func load
 		files [
+			"/usr/etc/alsa/conf.d"
+			"/usr/etc/asound.conf"
 			"/etc/alsa/conf.d"
 			"/etc/asound.conf"
 			"~/.asoundrc"
-- 
2.16.4



More information about the Alsa-devel mailing list