/[openvortex]/alsa/utils/alsasound.posix
ViewVC logotype

Diff of /alsa/utils/alsasound.posix

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by vizard, Sat May 31 02:35:21 2003 UTC revision 1.3 by vizard, Mon Aug 11 00:06:42 2003 UTC
# Line 31  Line 31 
31  config=/etc/modules.conf  config=/etc/modules.conf
32  alsactl=/usr/sbin/alsactl  alsactl=/usr/sbin/alsactl
33  asoundcfg=/etc/asound.state  asoundcfg=/etc/asound.state
34    if [ -x /sbin/lsmod ]; then
35      lsmod=/sbin/lsmod
36    else
37      lsmod=lsmod
38    fi
39    
40  if [ ! -r $config ]; then  if [ ! -r $config ]; then
41    if [ -r /etc/conf.modules ]; then    if [ -r /etc/conf.modules ]; then
# Line 91  case "$1" in Line 96  case "$1" in
96            #            #
97            # remove all sound modules            # remove all sound modules
98            #            #
99            /sbin/lsmod | grep -E "^snd" | grep -Ev "^(snd-page-alloc|snd-hammerfall-mem)" | while read line; do \            $lsmod | grep -E "^snd" | grep -Ev "(snd-page-alloc|snd_page_alloc)" | while read line; do \
100                  /sbin/rmmod `echo $line | cut -d ' ' -f 1`; \                  /sbin/rmmod `echo $line | cut -d ' ' -f 1`; \
101                  done                  done
102            # remove the 2.2 soundcore module (if possible)            # remove the 2.2 soundcore module (if possible)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26