ts-7000
[Top] [All Lists]

[ts-7000] Re: Autostart programs.

To:
Subject: [ts-7000] Re: Autostart programs.
From: "Harold" <>
Date: Fri, 03 Jun 2011 17:44:26 -0000
To get specific:

1. Create a start-up script in /etc/init.d
The script can be as simple as one line that runs your program.
$ cat >/etc/init.d/myscript
/mypath/myprog &
<Ctrl+D>

2. Give the script execute permission.
$ chmod +x /etc/init.d/myscript

3. Create a symbolic link to the script in the rc3.d directory.
$ ln -s ../../init.d/myscript /etc/rc.d/rc3.d/S99myscript



--- In  Jim Jackson <> wrote:
>
>
>
>
> On Thu, 2 Jun 2011, ramandeep wrote:
>
> > craate a start-up script and place it at /etc/init.d
> >
> > then issue
> >
> > update-rc.d script-name defaults
>
> This won't work for the minimal TSlinux image. You would have to
> make the links your self. 
>
> Similarly, /etc/rc.local doesn't exist on the on board TS image.
>
> >
> > from command prompt.This would place links at all run levels.
> >
> > Thanks,
> > Ramandeep
> >
> > --- In  Howard Blue <hblue94@> wrote:
> > >
> > > I want my program to start after the TS-7260 board boots up and before 
> > > the log in prompt.
> > >
> > > --- On Wed, 6/1/11, Clark Dunson <cdunson@> wrote:
> > >
> > >
> > > From: Clark Dunson <cdunson@>
> > > Subject: Re: [ts-7000] Autostart programs.
> > > To: 
> > > Date: Wednesday, June 1, 2011, 12:27 AM
> > >
> > >
> > > ? 
> > >
> > >
> > >
> > >
> > > Do you mean at boot time? ? 
> > > Simplest:? 
> > > Put the prg in the /etc/rc.local file; or? 
> > > use the /etc/init.d/ mechanism.
> > >
> > >
> > > On May 31, 2011, at 12:13 PM, hblue94 wrote:
> > >
> > > ? 
> > >
> > > How do you make user program autostart on the TS-7260 board?
> > >
> > > Thanks for the help.
> > >
> >
> >
> >
>




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

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