]> git.pld-linux.org Git - packages/alsa-utils.git/commitdiff
- removed unused 'detect'
authorjuandon <witekfl@pld-linux.org>
Thu, 5 Dec 2002 10:22:24 +0000 (10:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    alsasound -> 1.5

alsasound

index 07322b0f6633f7a53f04377ba80ff22abdc8fe62..6fde13f8ed3e19a72bec9c5c01985215c3beb302 100644 (file)
--- a/alsasound
+++ b/alsasound
@@ -146,27 +146,8 @@ case "$1" in
        $0 stop
        $0 start
        ;;
-  detect)
-       # Start driver only in detect mode.
-       if [ -d /proc/asound ]; then
-         if [ -f /proc/asound/detect ]; then
-           show "ALSA is already running detection mode"; fail
-           exit 0
-          else
-           show "Shutting down sound driver:"
-           driver_stop
-           ok
-         fi
-       fi
-       show "Starting sound detect module:"
-       detect_start
-       ok
-       if [ -d /var/lock/subsys ]; then
-         touch /var/lock/subsys/alsasound
-       fi
-       ;;
   *)
-        echo "Usage: $0 {start|stop|restart|detect}"
+        echo "Usage: $0 {start|stop|restart}"
         exit 1
 esac
 
This page took 0.114137 seconds and 4 git commands to generate.