From fb9d49351df9299b41ceb657e60506ea4e8501f0 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 18 Oct 1999 14:57:20 +0000 Subject: only load mixer settings if we loaded a soumd module --- rc.d/rc.sysinit | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index da8830a5..63d49d2c 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -285,10 +285,10 @@ fi if [ -n "$USEMODULES" ]; then if grep -s -q "^alias sound " /etc/conf.modules ; then action "Loading sound module" modprobe sound - fi - # Get mixer settings - if [ $? -eq 0 -a -f /etc/.aumixrc -a -x /bin/aumix-minimal ]; then - action "Loading mixer settings" /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null + # Get mixer settings + if [ $? -eq 0 -a -f /etc/.aumixrc -a -x /bin/aumix-minimal ]; then + action "Loading mixer settings" /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null + fi fi if grep -s -q "^alias midi " /etc/conf.modules ; then action "Loading midi module" modprobe midi -- cgit v1.2.1