ts-7000
[Top] [All Lists]

[ts-7000] Re: Autostart programs.

To:
Subject: [ts-7000] Re: Autostart programs.
From: "kevin_at_newport" <>
Date: Thu, 23 Jun 2011 16:12:56 -0000
Howard --

I have the same goal as you.  A colleague found that we could use this command 
from the TS-7800 manual to get a TS-7800 to automatically boot Linux from the 
SD card without typing "exit":

ln ?sf /linuxrc-sdroot /linuxrc; save

We also use a startup script and link (as described in other posts, reproduced 
here to collect it in one place).

Script file name:  /etc/init.d/start_my_program
Contents of script file:
    nohup /home/eclipse/my_program &
    sleep 1

Remember to "chmod +x /etc/init.d/start_my_program" to make that script 
executable.

Then add a link like this:
   ln -s /etc/init.d/start_my_program /etc/rc3.c/S99start_my_program

Hope this helps --

Kevin

--- In  Howard Blue <> wrote:
>
> OK, these steps work work but I have to type "exit" before my program runs.
>
> Is there a procedure to make my program run automatically without input from 
> the console?
>
> I would like to simply apply power to the TS-7260 board, boot up and run my 
> program without any user input.
>
>
>



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

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