diff --git a/apmscript b/apmscript index f2a5516..c7366a7 100755 --- a/apmscript +++ b/apmscript @@ -171,7 +171,7 @@ case "$PROG" in # Unload sound modules if necessary if [ "$RESTORESOUND" = "yes" -o "$RESTORESOUNDPROGS" = "yes" ]; then rm -rf /var/run/apm-soundmodules - SOUNDMODULES=`modprobe -c | awk '/^alias sound-slot/ { print $3 }'` + SOUNDMODULES=`modprobe -c | awk '/^alias snd-card/ { print $3 }'` for m in $SOUNDMODULES; do if lsmod | LC_ALL=C grep -q "^$m " &>/dev/null; then rmmod $m