ts-7000
[Top] [All Lists]

[ts-7000] autostarting an application in initd/busybox

To:
Subject: [ts-7000] autostarting an application in initd/busybox
From: "roko2ko" <>
Date: Tue, 21 Feb 2012 17:41:20 -0000
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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU