From b4209c7c79080675090545daf71ae086692473f4 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 29 Nov 1999 21:53:26 +0000 Subject: make sound detection consistent --- rc.d/rc.sysinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.d') 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 -- cgit v1.2.1