sbp wrote:
> i will look into this. I'm currently building the next version that
> should be ready within a few days. It will support the hifiberry digi
> card as well.
>
> I'm not at my computer at the moment, but you should look into the
> opt/bootlocal.sh file. I can't remember the start sequence, but you
> could move the start sequence so that squeezelite will be the last. If
> you need to you can also insert a sleep command. Like Sleep 1
>
> steen
I know it slows down the boot process, but I always do the network
startup first, and then wait for it to finish before moving along.
if you are doing wifi, then look for this.
Code:
--------------------
usr/local/bin/wifi.sh -a 2>&1 > /tmp/wifi.log
--------------------
make sure there is not an "&" at the end of the line. And make sure
that it is before squeezelite starts.
another option you could use just before......I found this in the clock
setting routine, but it works well for any network status
Code:
--------------------
# Wait for network to come up
CNT=0
until ifconfig | grep -q Bcast
do
[ $((CNT++)) -gt 60 ] && break || sleep 1
done
if [ $CNT -le 60 ]
then
****Insert your squeezelite startup command here*****
fi
--------------------
------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=97803
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix