AFAIK, a standard TS-7260 boots to TS-Linux from the on-board flash, without
any need to do anything on the console port. Apparently you do not have a
standard TS-7260. It might help if you told us how your TS-7260 is configured.
What does it boot into, that you type "exit" to? What does it boot into after
you type "exit"? Do you want your program to run in the pre-"exit" environment,
and have the TS-7260 stay in that environment? Or do you want the TS-7260 to
automatically go to the post-"exit" environment, and run your program in that
environment?
--- 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.
> Â
>
>
> --- On Tue, 6/21/11, wawan_wiratno <> wrote:
>
>
> From: wawan_wiratno <>
> Subject: [ts-7000] Re: Autostart programs.
> To:
> Date: Tuesday, June 21, 2011, 3:05 AM
>
>
> Â
>
>
>
> Hi,
> try this steps:
> 1. script on /etc/init.d/yourscript
> 2. chmod 755 /etc/init.d/yourscript
> 3. make as default on rc with this command, update-rc.d -f yourscript
> defaulfts
> 4. reboot
>
> try to dump something on yourscript > dumpfile
> see if run after reboot.
>
> Br,
> Wawan
>
> --- In Howard Blue <hblue94@> wrote:
> >
> > 1. Created a script in the init.d directory that runs my program.
> >
> > 2. Created a link to my script in the rc3.d directory.
> >
> > 3� On boot up my program does not run but I can run it manually by using
> > the link.
> >
> > What am I missing?
> >
> > Thanks.
> >
> >
> >
> > --- On Fri, 6/3/11, Harold <HDewar@> wrote:
> >
> > From: Harold <HDewar@>
> > Subject: [ts-7000] Re: Autostart programs.
> > To:
> > Date: Friday, June 3, 2011, 5:44 PM
> >
> >
> >
> >
> >
> >
> >
> > Ã?Â
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > 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 <jj@> 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/
|