summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-11-16 22:28:09 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-11-16 22:28:09 +0000
commite14ec53402d01a6dcffd73b92b9ea5319c5e9f4e (patch)
tree15d4f1402539cfad7b8c72f1d4e4a667b93db451 /media-sound/alsa-utils
parentStable on sparc (Manifest recommit) (diff)
downloadgentoo-2-e14ec53402d01a6dcffd73b92b9ea5319c5e9f4e.tar.gz
gentoo-2-e14ec53402d01a6dcffd73b92b9ea5319c5e9f4e.tar.bz2
gentoo-2-e14ec53402d01a6dcffd73b92b9ea5319c5e9f4e.zip
Module list uses aliases instead of driver name to close bug #71230.
Diffstat (limited to 'media-sound/alsa-utils')
-rw-r--r--media-sound/alsa-utils/ChangeLog5
-rw-r--r--media-sound/alsa-utils/files/alsasound4
2 files changed, 6 insertions, 3 deletions
diff --git a/media-sound/alsa-utils/ChangeLog b/media-sound/alsa-utils/ChangeLog
index ecad0a440714..cb3d1ac8a895 100644
--- a/media-sound/alsa-utils/ChangeLog
+++ b/media-sound/alsa-utils/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/alsa-utils
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.75 2004/11/12 11:11:49 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.76 2004/11/16 22:28:09 eradicator Exp $
+
+ 16 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org> files/alsasound:
+ Module list uses aliases instead of driver name to close bug #71230.
*alsa-utils-1.0.7 (12 Nov 2004)
diff --git a/media-sound/alsa-utils/files/alsasound b/media-sound/alsa-utils/files/alsasound
index 030d75e07466..e6eaf7f25f07 100644
--- a/media-sound/alsa-utils/files/alsasound
+++ b/media-sound/alsa-utils/files/alsasound
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound,v 1.17 2004/10/30 01:42:11 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound,v 1.18 2004/11/16 22:28:09 eradicator Exp $
#
# Gentoo users: add this script to 'boot' run level.
# ==================================================
@@ -50,7 +50,7 @@ depend() {
load_modules() {
# List of drivers for each card.
- DRIVERS="$(modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{print $3}')"
+ DRIVERS="$(modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{print $2}')"
# Fall back on the automated aliases if we don't have ALSA configured properly...
if [ -z "${DRIVERS}" ] && ! ([ -d /proc/asound ] && [ -z "$(grep ' no soundcards ' /proc/asound/cards)" ]); then