/lib/udev/awesfx.sh is in awesfx 0.5.1e-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #!/bin/sh
set -e
CARD=${DEVNAME##/dev/snd/hwC}
CARD=${CARD%%D2}
DEFAULTS="/etc/default/awesfx"
[ -r "$DEFAULTS" ] && . "$DEFAULTS"
# Select either card-specific soundfonts, or default ones
eval SFONTS=\${SOUNDFONTS_${CARD}:-${SOUNDFONTS}}
INC=""
for font in ${SFONTS}
do
/usr/bin/asfxload -Dhw:${CARD},2 ${INC} ${OPTIONS} ${font}
INC="-N"
done
|