ts-7000
[Top] [All Lists]

Re: [ts-7000] Load Program on Boot

To:
Subject: Re: [ts-7000] Load Program on Boot
From: Jim Jackson <>
Date: Fri, 24 Aug 2007 21:23:16 +0100 (BST)


On Fri, 24 Aug 2007, e_fenimore wrote:

> I tried having a program load on boot by adding a line to inittab. For
> some odd reason, it just doesn't run well that way.

You don't say what "run well" means. It could be that init tried to start
your program before all the usually startup stuff has completed - e.g. if
your program expected a functioning network, then the normal startup stuff
might not have initialised the network in time. There could be lots of
reasons.

>  Any ideas on a
> preferred method for loading a program on boot?

/etc/inittab entries are one way, it might be something else to do with
your program.

Other ways are to write a customised start/stop script for your demon, put
it in /etc/init.d and link to it from /etc/rc.d/rc3.d as per standard sysV
init procedures.

A simpler way is to edit an existing startup script to also do your start
up. I alter the /etc/init.d/network script to do afew things after it's
started the network.

> I am still
> investigating the cause of it not running well.


 
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