aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-02-27 23:21:44 +0000
committerBill Nottingham <notting@redhat.com>2001-02-27 23:21:44 +0000
commit46d577416910925544976174b29e6a5b28f19138 (patch)
treeec13ab033377fba69a50658ad96710372d405526 /rc.d/rc.sysinit
parent45cab441713798f9a4a4222f6924a6ed0d43f59c (diff)
downloadinitscripts-r5-68.tar
initscripts-r5-68.tar.gz
initscripts-r5-68.tar.bz2
initscripts-r5-68.tar.xz
initscripts-r5-68.zip
*** empty log message ***r5-68
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit10
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'`