--- 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/
|