ts-7000
[Top] [All Lists]

[ts-7000] Re: Auto..Run

To:
Subject: [ts-7000] Re: Auto..Run
From: "naturalwatt" <>
Date: Thu, 12 Jun 2008 18:14:48 -0000
--- In  "LaksCEO" <> wrote:
>
> Hi
> I have an application which i tested in the TS7250 and runs without any 
> problem.
> 
> Now how can i inculed it in the Script so that it can run automatically 
> without the login 
prompt?
> 
> the moment i powern on the board after booting the Linux my application 
> should run.
> 
> the login prompt i have to disable in the scripthow can i include my program
> 
> and also how can i reduce the booting time ?
> -laks
>
In addition to the other reply out have received, one of the simplest ways is 
to add a line to 
/etc/inittab.  Here are the last two lines of the /etc/inittab I use:

mcp:3:respawn:/root/starter > /root/starter.log 2>&1
wdt:3:once:/root/watchdog > /tmp/watchdog.log 2>&1

Both of these start when the system enters run level 3 which is the default.  
The program 
/root/starter is to be restarted if it ever fails.  The program /root/watchdog 
is to be run 
once only, and not restarted if it ever exits.

The first program logs to a file in Flash memory as I want to know what happens 
after the 
system has been rebooted.  The second program logs to a ramdisk which is 
mounted over 
/tmp.

Martin


------------------------------------

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