diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 9e5a63cf..b4d52a61 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -366,6 +366,11 @@ if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then fi fi +# tweak isapnp settings if needed. +if [ -n "$PNP" -a -f /proc/isapnp -a -x /sbin/sndconfig ]; then + /sbin/sndconfig --mungepnp >/dev/null 2>&1 +fi + # Load sound modules iff they need persistent DMA buffers if grep -q "options sound dmabuf=1" /etc/modules.conf 2>/dev/null ; then RETURN=0 @@ -608,11 +613,6 @@ if grep -q "ide-scsi" /proc/cmdline ; then modprobe ide-scsi >/dev/null 2>&1 fi -# tweak isapnp settings if needed. -if [ -n "$PNP" -a -f /proc/isapnp -a -x /sbin/sndconfig ]; then - /sbin/sndconfig --mungepnp >/dev/null 2>&1 -fi - # Generate a header that defines the boot kernel. KERNEL_TYPE=`uname -r | sed 's_^[^se]*\(\|smp\|enterprise\)$_-\1_;s_^-$__'` KERNEL_RELEASE=`uname -r | sed 's|smp\|enterprise||g'` |