mconf() { # arbitrary, but I can't imagine a system with more # than 6 *different* audio cards ! for i in `seq 6` ; do C=`echo snd-$CARDS | sed s/\,/\,snd-/g | cut -d, -f${i}` ; if [ -n "$C" ] ; then echo "alias snd-card-`expr $i - 1` $C">>${INSTALL_ROOT}/etc/modules.d/alsa && echo "alias snd-slot-`expr $i - 1` snd-card-`expr $i - 1`">>${INSTALL_ROOT}/etc/modules.d/alsa fi ; done && cat >> ${INSTALL_ROOT}/etc/modules.d/alsa <> ${INSTALL_ROOT}/etc/devfsd.conf <> $MOD