From 739aa927d288bda4ee158a6c805a7767fa93e163 Mon Sep 17 00:00:00 2001 From: zytek Date: Wed, 13 Jun 2007 16:32:43 +0000 Subject: [PATCH] - unload ac97_bus when stopping alsasound (sometimes needed when using suspend) Changed files: alsasound.init -> 1.16 --- alsasound.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alsasound.init b/alsasound.init index c69f503..0239a60 100644 --- a/alsasound.init +++ b/alsasound.init @@ -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 } -- 2.44.0