]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/initscripts/init.d/alsa
QoS-Graphen wieder eingebaut.
[ipfire-2.x.git] / src / initscripts / init.d / alsa
index fe7077ad5e22d3bf74c92a6f6424d329cbc9e57c..4d54c33f641acab87bf065abb4c492311fde1a20 100644 (file)
 . $rc_functions
 
 case "$1" in
+       start)
+               boot_mesg "Starting ALSA..."
+               modprobe snd_pcm_oss >/dev/null 2>&1 || failed=1
+               modprobe snd_mixer_oss >/dev/null 2>&1 || failed=1
+               (exit ${failed})
+               evaluate_retval
+               ;;
        stop)
                boot_mesg "Stopping ALSA...    Saving volumes..."
                loadproc /usr/sbin/alsactl store
                ;;
 
        *)
-               echo "Usage: $0 stop"
+               echo "Usage: $0 (start|stop)"
                exit 1
                ;;
 esac