Paul Webster wrote: 
> Another solution could be a change to Squeezelite to perform a few
> sleep/retry loops before deciding to exit.

Or maybe that can be scripted separately.  The problem is that the
script called by the udev rule blocks any further udev events on that
device.  So the script mustn't do anything that takes a long time. 
Since the '&' option doesn't seem to work to make it run in the
background, maybe the script could call an extra script to handle
squeezelite startup, and that extra script could be started with '&'. 
In this way, the main udev script should complete very quickly and not
block any further events.  In the meantime, that extra squeezelite
script could do the pause, or loop until success etc, but it'll be in
the background by then, so should eventually allow the driver to load.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to