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
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|