]> git.pld-linux.org Git - packages/alsa-utils.git/commitdiff
- unload ac97_bus when stopping alsasound
authorzytek <zytek@pld-linux.org>
Wed, 13 Jun 2007 16:32:43 +0000 (16:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
(sometimes needed when using suspend)

Changed files:
    alsasound.init -> 1.16

alsasound.init

index c69f503c1f68ec5954a4e4c0826d80cb4ed7d8df..0239a60875aa6543106307e6f0fc1e0f6f6c6be6 100644 (file)
@@ -86,7 +86,7 @@ detect_stop()
   #
   # remove all sound modules
   #
-  /sbin/lsmod | awk '/^snd/ { print $0 }' | while read line; do \
+  /sbin/lsmod | awk '/^(snd|ac97_bus)/ { print $0 }' | while read line; do \
      /sbin/rmmod `echo $line | cut -d ' ' -f 1`; \
   done
 }
This page took 0.069592 seconds and 4 git commands to generate.