diff options
author | Bill Nottingham <notting@redhat.com> | 2001-02-27 20:56:50 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-02-27 20:56:50 +0000 |
commit | 5eae55a3dd8e9bfa07fbef02d8a590a92991e334 (patch) | |
tree | a21713f78086a4b403e25fcc6f5cbc782f6e79c8 | |
parent | b037408c9e82dc1934beecff43a3a0b360249e60 (diff) | |
download | initscripts-5eae55a3dd8e9bfa07fbef02d8a590a92991e334.tar initscripts-5eae55a3dd8e9bfa07fbef02d8a590a92991e334.tar.gz initscripts-5eae55a3dd8e9bfa07fbef02d8a590a92991e334.tar.bz2 initscripts-5eae55a3dd8e9bfa07fbef02d8a590a92991e334.tar.xz initscripts-5eae55a3dd8e9bfa07fbef02d8a590a92991e334.zip |
call sndconfig --mungepnp to set up sound for non-native PnP drivers
-rwxr-xr-x | rc.d/rc.sysinit | 5 |
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'` |