summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-11-13 13:23:48 -0500
committerTakashi Iwai <tiwai@suse.de>2013-11-14 08:51:55 +0100
commit54a459a884ea7e8fe7f80ed9bf84b0417205c5d4 (patch)
treefa6578d96983b65cdff0aa077684706712702dc3
parentdf875c6e8f1a26ccba8a9d864bcff85b633df244 (diff)
alsaconf: update gentoo to use modprobe.d method as everyone else
We migrated off modules.d a long time ago. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--alsaconf/alsaconf.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in
index 59f25d1..3d6adca 100644
--- a/alsaconf/alsaconf.in
+++ b/alsaconf/alsaconf.in
@@ -300,9 +300,7 @@ if [ -n "$cfgfile" ]; then
exit 1
fi
else
-if [ "$distribution" = "gentoo" ]; then
- cfgfile="/etc/modules.d/alsa"
-elif [ "$kernel" = "new" ]; then
+if [ "$kernel" = "new" ]; then
cfgfile="/etc/modprobe.conf"
if [ -d /etc/modprobe.d ]; then
cfgout="/etc/modprobe.d/50-sound.conf"