summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-01-25 05:08:44 +0000
committerBill Nottingham <notting@redhat.com>2002-01-25 05:08:44 +0000
commit28d15daa342f7cde4b17baa69340f6f568d6f54f (patch)
treea9d6851829cc2ca2f373051bd9423e2460ce557f
parent5f91fc795c783d58d602140a676967b66e9994e8 (diff)
downloadinitscripts-28d15daa342f7cde4b17baa69340f6f568d6f54f.tar.gz
initscripts-28d15daa342f7cde4b17baa69340f6f568d6f54f.tar.xz
initscripts-28d15daa342f7cde4b17baa69340f6f568d6f54f.zip
load sound-slot-0, not the specific alias (#55231)
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 54cc9be7..e66242ae 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -436,12 +436,12 @@ if grep -q "options sound dmabuf=1" /etc/modules.conf 2>/dev/null ; then
RETURN=0
alias=`/sbin/modprobe -c | awk '/^alias sound / { print $3 }'`
if [ -n "$alias" -a "$alias" != "off" ] ; then
- action $"Loading sound module ($alias): " modprobe $alias
+ action $"Loading sound module ($alias): " modprobe sound
RETURN=$?
fi
alias=`/sbin/modprobe -c | awk '/^alias sound-slot-0 / { print $3 }'`
if [ -n "$alias" -a "$alias" != "off" ] ; then
- action $"Loading sound module ($alias): " modprobe $alias
+ action $"Loading sound module ($alias): " modprobe sound-slot-0
RETURN=$?
fi
fi