1 diff -ur rc-scripts-0.4.0.16.orig/rc.d/rc.sysinit rc-scripts-0.4.0.16/rc.d/rc.sysinit
2 --- rc-scripts-0.4.0.16.orig/rc.d/rc.sysinit 2004-09-24 01:45:26.000000000 +0200
3 +++ rc-scripts-0.4.0.16/rc.d/rc.sysinit 2005-01-05 09:58:48.469438712 +0100
6 . /etc/rc.d/init.d/functions
8 +if [ $(kernelverser) = "002006" ]; then
9 + MODULES_CONF=/etc/modprobe.conf
10 +elif [ -r /etc/modules.conf ]; then
11 + MODULES_CONF=/etc/modules.conf
13 + MODULES_CONF=/etc/conf.modules
16 # we need /proc mounted before everything
17 mount -n -o gid=17 -t proc /proc /proc
22 # Load sound modules if they need persistent DMA buffers
23 -if grep -q "options sound dmabuf=1" /etc/modules.conf 2>/dev/null ; then
24 +if grep -q "^options sound dmabuf=1" "$MODULES_CONF" 2>/dev/null ; then
26 alias=$(/sbin/modprobe -c | egrep -s "^alias[[:space:]]+sound[[:space:]]+" | awk '{ print $3 }')
27 if [ -n "$alias" -a "$alias" != "off" ] ; then