RolandHughes
4th February 2015, 21:27
All,
I don't normally go messing around with bootstrap code or any other such thing, but it appears those who put the BitBake BusyBox build together for this project aren't really around anymore. I absolutely know what is wrong though I'm just now starting to look at it. There were two idiots.
The first is/was the systems team/person/people who are launching stuff at startup rather willy-nilly then dropping straight into launching the application without including any mechanism what-so-ever of determining if basic services like Alsa and Telnet have actually completed. What is the simplest method of determining if Alsa and Telnet (for now) have completed startup? I mean simplest way from inside one of these init.d type scripts. Keep in mind I try to avoid any and all type of involvement with linux scripting, so make no claims to knowledge or skills in it. (If it was something robus like DCL, I could hack out a beautiful 5K line script in an afternoon without problem. Not so much with this stuff.)
While poking around for this answer I will begin fixing the code of the second idiot who assumed the OS would always be there and didn't check any return values thus causing the application to crash periodically on cold boot because either the sound didn't get started or, more often, the network didn't complete configuring itself before the app tried to use it full throttle.
Thanks,
I don't normally go messing around with bootstrap code or any other such thing, but it appears those who put the BitBake BusyBox build together for this project aren't really around anymore. I absolutely know what is wrong though I'm just now starting to look at it. There were two idiots.
The first is/was the systems team/person/people who are launching stuff at startup rather willy-nilly then dropping straight into launching the application without including any mechanism what-so-ever of determining if basic services like Alsa and Telnet have actually completed. What is the simplest method of determining if Alsa and Telnet (for now) have completed startup? I mean simplest way from inside one of these init.d type scripts. Keep in mind I try to avoid any and all type of involvement with linux scripting, so make no claims to knowledge or skills in it. (If it was something robus like DCL, I could hack out a beautiful 5K line script in an afternoon without problem. Not so much with this stuff.)
While poking around for this answer I will begin fixing the code of the second idiot who assumed the OS would always be there and didn't check any return values thus causing the application to crash periodically on cold boot because either the sound didn't get started or, more often, the network didn't complete configuring itself before the app tried to use it full throttle.
Thanks,