Linux XBMCBuntu Frodo RC - AE: Error - no devices found
#99
(2013-01-31, 17:58)uNiversal Wrote:
Code:
count=1
while [ $count -le 30 ]
do
        touch /test/startup.log
        echo "waiting for ALSA: $count" >> /test/startup.log
        if [ -e /proc/asound/cards ]; then
                echo "ALSA up!" >> /test/startup.log
                break
        fi

        sleep 1
        count=`expr $count + 1`
done

The difference being you touch file before you put stuff inside it. idk Try it.

uNi

That's irrelevant. Redirecting output to a nonexistent file will create the file, ie there's absolutely no need to create it by touch before.
try for yourself:

Code:
echo "foo" >> foo.out
Reply


Messages In This Thread
RE: XBMCBuntu Frodo RC - AE: Error - no devices found - by PhilipJ - 2013-01-31, 18:08
Logout Mark Read Team Forum Stats Members Help
XBMCBuntu Frodo RC - AE: Error - no devices found3