diff --git a/alsa.changes b/alsa.changes index c7e393f..00fc10d 100644 --- a/alsa.changes +++ b/alsa.changes @@ -1,9 +1,3 @@ -------------------------------------------------------------------- -Mon Nov 2 10:18:56 CET 2009 - tiwai@suse.de - -- remove references to obsolete modprobe.d/sound file in init - script (bnc#549905) - ------------------------------------------------------------------- Wed Sep 9 14:45:03 CEST 2009 - tiwai@suse.de diff --git a/alsasound b/alsasound index a72f196..a3a912f 100644 --- a/alsasound +++ b/alsasound @@ -77,7 +77,11 @@ load_sequencer() { } get_drivers() { - /sbin/modprobe -c | \ + if [ -f /etc/modprobe.d/sound ]; then + cat /etc/modprobe.d/sound + else + /sbin/modprobe -c + fi | \ grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | sort | \ while read a b card; do echo $card