if  !  grep  -q  "CARDS="  $SPELL_CONFIG;  then

  rm  -f  ${INSTALL_ROOT}/etc/modules.d/alsa                                                 &&
  cp  ${INSTALL_ROOT}/etc/modules.conf ${INSTALL_ROOT}/tmp/modules.conf                        &&
  grep  -v  "alsa"   <  ${INSTALL_ROOT}/tmp/modules.conf  >  ${INSTALL_ROOT}/etc/modules.conf

  CARDLIST=`cat $SCRIPT_DIRECTORY/sound.cards`

  CARDS=`dialog  --backtitle  "ALSA Configuration Menu"  \
	  --stdout				         \
          --checklist "Select sound cards"               \
          0 0 0                                          \
          $CARDLIST`

  CARDS=`echo $CARDS | sed s/\"//g | sed s/" "/,/g`      &&

  echo "CARDS=$CARDS" >> $SPELL_CONFIG

fi
