On Wed, 17 Aug 2005, jenlhunt2003 wrote:
> > You just will want to put your applications/scripts in the startup
> > script /etc/rc.d/rcS.sysinit
>
> I tried putting my application at the end of rcS.sysinit. It fires
> up, but complains because the network is not up yet.
>
> Is there someplace later (after network initialization) in these
> scripts where we can safely start an application?
look in the directory /etc/init.d/
I believe there is a "network" startup script.
Sorry I can't remember the exact file name and I don't have my ts7200 to
hand.
The script is self explanatory.
>
> >
> > There is no such thing as "auto-login" in Linux. The closest thing
> > would be to bypass the normal initialization procedure (which
> > invokes the getty and login on the serial terminal) with your own
> > program by passing an init=/myprogram from the kernel startup
> > command line.
>
> Where is, or do we put, the kernel startup command line? It seems
> like maybe in inittab, but nothing in there has the the format
> mentioned above: init=/myprogram.
>
Read the documentation you got with the board - it is done in redboot.
I would not recommend doing this, it replaces the normal initialisation
and startup stuff. You would have to ensure your program did any
system initialisation required for your environment, like mounted disks,
network stuff, getty's on lines, daemons started like inetd etc etc.
You sound like a new comer to linux, and this could just prove far too
difficult.
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hbkhqtg/M=362329.6886308.7839368.1510227/D=groups/S=1705005378:TM/Y=YAHOO/EXP=1124277699/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|