Hello!
I'm using TS 7553 and want to autostart my application in
initd/busybox environment. I boot from mSD.
At the end of './shinit' script I've put the following
code:
sleep 10
/root/myApp
If I use a shorter sleep period, most of the time I get
"sh: /root/myApp not found" error - probably because
partition isn't fully loaded into the RAM?? If it's
important, I have extended my initd partition from default
2 MB to 4 MB - but this problem occurred in a similar
fashion when partition was only 2 MB.
Anyway, the problem is that sometimes everything is ready
after 5 s of sleep, and sometimes not. Is there a way to
make this init process shorter? Or at least a way to
contionously try to execute application in a loop until it
succeeds?
Thank you,
Roko