ts-7000
[Top] [All Lists]

[ts-7000] Re: How to start application at boot time on TS-7260

To:
Subject: [ts-7000] Re: How to start application at boot time on TS-7260
From: "alexanchoragealaska" <>
Date: Wed, 02 Apr 2008 19:11:06 -0000
--- In  Triffid Hunter <> wrote:
>
> On Wed, 2 Apr 2008, alexanchoragealaska wrote:
> 
> > Hi,
> >
> > I am running TS-Linux on TS-7260. I wrote an application that
> > calculated some data and stores it to the network drive. The
> > application works fine from command line.  What I am trying to do is
> > to make application start automatically at boot time. Since I need to
> > store the data at network drive, I also need to mount network drive at
> > boot time.  I did some search and it sounds like the best option is to
> > create a script in etc/init.d directory.
> >
> > Now I need to "update symbolic links" by update-rc.d
> 
> Never heard of that one, which distro uses it?

There are few web-sites that mention to use update-rc.d command for
Debian Linux (I am not sure which version of Debian).  
I found the description on:
http://forums.debian.net/viewtopic.php?t=2180
and
http://www.debian-administration.org/articles/28/print
> 
> > I am getting error message:
> > -sh: update-rc.d: not found
> >
> > Does TS-Linux have update-rc.d? If not, how can I "activate" the
script?
> 
> symlink from /etc/rc2.d (might be /etc/rc.d/rc2.d) and/or rc3.d,
call it 
> S99scriptname (S means start, 99 is the order. see other symlinks in
the 
> same dir for examples)
>

I tried to open several S##scriptname scripts in rc3.d (using vi
editor), but these files look empty.  I guess it would make sense
considering that this is "symbolic link".  So, my understanding is
that I need to run symlink() command to create these S##... files? 
Can you provide an example of symlink command?



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

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