diff options
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 0fd30a69..f5860992 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -265,12 +265,17 @@ fi RETURN=0 alias=`egrep -s "^alias[[:space:]]+sound[[:space:]]+" /etc/conf.modules | awk '{ print $3 }'` if [ -n "$alias" -a "$alias" != "off" ] ; then - action "Loading sound module ($alias)" modprobe sound + action "Loading sound module ($alias)" modprobe $alias + RETURN=$? +fi +alias=`egrep -s "^alias[[:space:]]+sound-slot-0[[:space:]]+" /etc/conf.modules | awk '{ print $3 }'` +if [ -n "$alias" -a "$alias" != "off" ] ; then + action "Loading sound module ($alias)" modprobe $alias RETURN=$? fi alias=`egrep -s "^alias[[:space:]]+midi[[:space:]]+" /etc/conf.modules | awk '{ print $3 }'` if [ -n "$alias" -a "$alias" != "off" ]; then - action "Loading midi module ($alias)" modprobe midi + action "Loading midi module ($alias)" modprobe $alias fi # Load mixer settings |