--- 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/
|