From 644a524c2f79a63af8f74d85b822047b2ac10ed3 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 7 Feb 2002 02:59:31 +0000 Subject: load sound-slot-0, not the specific alias (#55231) --- rc.d/rc.sysinit | 4 ++-- 1 file 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 -- cgit v1.2.1