ts-7000
[Top] [All Lists]

RE: [ts-7000] problem scrip init.d <ts7800>

To: <>
Subject: RE: [ts-7000] problem scrip init.d <ts7800>
From: "Jongsoo Kim" <>
Date: Mon, 10 May 2010 23:07:16 -0400


Was there any progress in this topic?

 

 

 

From: [ On Behalf Of Jim Jackson
Sent: Monday, April 26, 2010 4:39 PM
To:
Subject: Re: [ts-7000] problem scrip init.d <ts7800>

 

 



On Mon, 26 Apr 2010, rodriguezromain62 wrote:

> Hello everybody, I have a problem with a script.
>
> My script is executed when Linux boot on the TS7800
>
> #!/bin/sh
>
> ifconfig eth0 192.168.0.2
> /home/PROGRAMMES/FORTORMASK 0000
> /home/samples/LETbi >/dev/null 2>&1 &
> /home/samples/readDIOOutMSG >/dev/null 2>&1 &
> /home/samples/seriemsg /dev/ttts5 9600 >/dev/null 2>&1 &
>
> But only ifconfig and the first programm is executed.
> The other 3 program have a for(;;) so i do >/dev/null 2>&1 &
>
> But my 3 programs dont run :'(
> why ?

Do you programmes "daemon"ise themselves? Check out

man 3 daemon

You may be able to use the daemon programme to daemon'ise your pregs too,
see

man 1 daemon

It is useful to read up on what daemon, both of them, do.
I use the daemon(3) in all programmes I write that I want to run from start
up - I add an option to prevent daemon'isation for debuggin from the shell.

> (I put my script in init.d and make a link in rc3.d)
>
> when I launch my script after linux has boot, its work... Help me please !! thanks
>
>



__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
  • RE: [ts-7000] problem scrip init.d <ts7800>, Jongsoo Kim <=
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