Here is how the /etc/alsa/modprobe-post-install.d/awesfx script should
look.  Compared with the previous script I posted, a test has been added
for the module name.  I don't know for which ALSA driver modules the
asfsload program should be run but I am told by a user that
snd-emu8000-synth is one of them.  If there are others then of course
add them in.

    #!/bin/sh
    # alsa modprobe-post-install script for awesfx 

    [ -x /usr/bin/asfxload ] || exit 0
    [ -f /etc/default/asfxload ] || exit 0
    . /etc/default/asfxload
    [ "$SOUNDFONT_FILE" ] || exit 0
    case "$1" in
        snd-emu8000-synth)
                /usr/bin/asfxload $ASFXLOAD_OPTS "$SOUNDFONT_FILE" || :
                ;;
    esac
    exit 0

-- 
Thomas Hood <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to