ts-7000
[Top] [All Lists]

[ts-7000] Re: Help with Bat3 init script

To:
Subject: [ts-7000] Re: Help with Bat3 init script
From: "naturalwatt" <>
Date: Tue, 10 Jun 2008 08:37:34 -0000
--- In  "lee.weihong" <> wrote:
>
> Hi,
> 
> Linux newbie here, and I have read through the posts about setting up
> the Bat3 application running. All they mentioned was "Add the daemon
> to the startup script", but I could not get the Bat3 daemon to auto
> load at startup. Here is my script which i linked using update-rc.d at
> runlevel 99:
> 

> I suspect there is something wrong with the init script I wrote (first
> time into shell scripts) can someone help me out?
>

Michael Schmidt is right; the enviromnent is different when these scripts are 
being run, 
and there is no runlevel 99.

The usual problem is that PATH is not necessarily what you expect.  If 
start-stop-daemon 
is not is /bin or /sbin, it probably won't be found.  Use the full path.  If 
there's any error 
message it should come out to the console.

Try putting the script in runlevel 4, and using init 4 to change runlevel.  You 
can then see 
if it works or not.  A line in /etc/inittab should do it.

Martin


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

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