mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 03:55:41 +01:00
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:
parent
df875c6e8f
commit
54a459a884
1 changed files with 1 additions and 3 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue