aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index e533df1c..a6a781ac 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -614,6 +614,11 @@ 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'`