From 28d15daa342f7cde4b17baa69340f6f568d6f54f Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 25 Jan 2002 05:08:44 +0000 Subject: load sound-slot-0, not the specific alias (#55231) --- rc.d/rc.sysinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.d/rc.sysinit') 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