tw99 wrote: > OK - so are those user commands guaranteed to be run before squeezelite > is started by PCP & does the startup process wait for them to complete ? > > > If not I'll also need to handle what happens if the DAC happens to be > powered up, which would have allowed PCP's squeezelite to start normally > before my script gets in there.
Why would you need to start before the normal attempt to start squeezelite? If squeezelite is running do nothing, if it's not running, try to start it. Just use "/usr/local/etc/init.d/squeezelite status" piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer ------------------------------------------------------------------------ paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=110642 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
