diff options
author | Bill Nottingham <notting@redhat.com> | 1999-11-29 21:53:26 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-11-29 21:53:26 +0000 |
commit | b4209c7c79080675090545daf71ae086692473f4 (patch) | |
tree | d0e692d9b7c413b032bda3660fe756f6e92e2975 /rc.d | |
parent | 20f1807d02e15b68704a9cc6f855a7e582ec664f (diff) | |
download | initscripts-b4209c7c79080675090545daf71ae086692473f4.tar initscripts-b4209c7c79080675090545daf71ae086692473f4.tar.gz initscripts-b4209c7c79080675090545daf71ae086692473f4.tar.bz2 initscripts-b4209c7c79080675090545daf71ae086692473f4.tar.xz initscripts-b4209c7c79080675090545daf71ae086692473f4.zip |
make sound detection consistent
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 1f9489c1..dc601ed1 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -287,8 +287,8 @@ if [ -n "$USEMODULES" ]; then fi # Load mixer settings -if grep -q "14 sound" /proc/devices 2>/dev/null && [ -f /etc/.aumixrc -a -x /bin/aumix-minimal ]; then - action "Loading mixer settings" /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null +if grep -q "\(sparcaudio\|sound\)" /proc/devices 2>/dev/null && [ -f /etc/.aumixrc -a -x /bin/aumix-minimal ]; then + action "Loading mixer settings" /bin/aumix-minimal -f /etc/.aumixrc -L fi if [ -f /proc/sys/kernel/modprobe ]; then |