Hi, >Try replacing the line above with this line: >local CARDS=$(cat /proc/asound/cards | awk '/: / { print $1 }'$local >CARDNUM) Now, I've got an error: # /etc/init.d/alsasound restart * Caching service dependencies ... : command not foundne 6: : command not foundne 14: : command not foundne 6: : command not foundne 14: : command not foundne 6: : command not foundne 14: : command not foundne 6: : command not foundne 14: [ ok ] /etc/init.d/alsasound: line 216: unexpected EOF while looking for matching `"' /etc/init.d/alsasound: line 226: syntax error: unexpected end of file * ERROR: /etc/init.d/alsasound has syntax errors in it; aborting ... --------------------------------------------------------------- CTR – brzmi tajemniczo ? Sprawdź co możesz zyskać na >>> http://link.interia.pl/f1a9d ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user