Bug 7426 - Mixer settings not loaded correctly by /etc/rc.d/rc.sysinit
Mixer settings not loaded correctly by /etc/rc.d/rc.sysinit
Status: CLOSED DUPLICATE of bug 7366
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
6.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-11-29 18:32 EST by Scott C. Karlin
Modified: 2014-03-16 22:11 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-11-29 18:46:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Scott C. Karlin 1999-11-29 18:32:22 EST
There seems to be a bug in /etc/rc.d/rc.sysinit mixer load.
1.  The "if" statement syntax is wrong and will never be true.
2.  Since the action was directed to /dev/null, it would never display.

From initscripts-4.68-1.i386.rpm (rc.sysinit):
# Load mixer settings
if [ grep -q "14 sound" /proc/devices 2>/dev/null -a -f /etc/.aumixrc -a -x
/bin/aumix-minimal ]; then
        action "Loading mixer settings" /bin/aumix-minimal -f /etc/.aumixrc
-L >/dev/null
fi


This should be:
# Load mixer settings -- fixed by SCK 11/29/1999
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
fi
Comment 1 Bill Nottingham 1999-11-29 18:46:59 EST
*** This bug has been marked as a duplicate of 7366 ***

Note You need to log in before you can comment on or make changes to this bug.