kowi wrote: > I installed Openwrt > (snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin) > on my wr702, > added usb-audio and loaded "Squeezelite 0.9beta10 Linux ALSA mips > ar71xx (openwrt)". > > Running the command " /usr/bin/squeezelite-mips-ar71xx -z -o > front:CARD=Device,DEV=0 -a 600:4 192.168.1.108" works pretty well. > > When I try to put this command in "rc.local" , Squeezelite starts, but > the LED of the DAC (cheap Logilink USB-Stick) blinks and i cannot play > any music. > I added sleep 20 before the command, but same result. > > Does anyone know how to autostart SL?
You might want to try this. Put the command line into a wrapper script e.g. "/usr/bin/squeeze": #!/bin/sh sleep 10 /usr/bin/squeezelite-mips-ar71xx -z -o front:CARD=Device,DEV=0 -a 600:4 192.168.1.108 and call that from rc.local: /usr/bin/squeeze & Don't forget: chmod 777 /usr/bin/squeeze Good luck ------------------------------------------------------------------------ soundcheck's Profile: http://forums.slimdevices.com/member.php?userid=34383 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
