]> git.pld-linux.org Git - packages/alsa-utils.git/commitdiff
- added ckecking of /etc/asound.state
authorhavner <havner@pld-linux.org>
Sun, 30 May 2004 20:09:37 +0000 (20:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    alsasound.init -> 1.8

alsasound.init

index 4ac3035885a6139e12490e265799d5f4145a8f9c..3a964829a7f59eef5f27d27b02482f4235792676 100644 (file)
@@ -69,7 +69,9 @@ driver_start()
   # restore driver settings
   #
   if [ -x $alsactl ]; then
-    $alsactl restore
+    if [ -f /etc/asound.state ]; then
+      $alsactl restore
+    fi
   else
     show "ERROR: alsactl not found"; fail
   fi
This page took 0.028898 seconds and 4 git commands to generate.