Re: [Alsa-user] ld10k1
Brought to you by:
perex
From: stan <st...@co...> - 2007-06-01 17:25:46
|
On 01 Jun 2007 18:46:49 +0200 kr...@po... wrote: > 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 ... > > I tested the line in isolation and it put the sound card numbers into the CARDS array. Obviously, the double quote is necessary and I'll have to have another look at the script as a whole. I'll reply again when I have something. |