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>
This commit is contained in:
Mike Frysinger 2013-11-13 13:23:48 -05:00 committed by Takashi Iwai
parent df875c6e8f
commit 54a459a884

View file

@ -300,9 +300,7 @@ if [ -n "$cfgfile" ]; then
exit 1 exit 1
fi fi
else else
if [ "$distribution" = "gentoo" ]; then if [ "$kernel" = "new" ]; then
cfgfile="/etc/modules.d/alsa"
elif [ "$kernel" = "new" ]; then
cfgfile="/etc/modprobe.conf" cfgfile="/etc/modprobe.conf"
if [ -d /etc/modprobe.d ]; then if [ -d /etc/modprobe.d ]; then
cfgout="/etc/modprobe.d/50-sound.conf" cfgout="/etc/modprobe.d/50-sound.conf"