On Fri, 12 Sep 2008, Fabio Vaz wrote:
> Hi all,
>
> In my TS7200, I made an init script which starts some processes to
> take webcam pictures, read smartcards, scan fingerprints, etc. The
> script (/etc/init.d/dex.sh) is like this :
>
> utlscansmart-mifare &
> utlscanfinger &
> utlwebcam &
> utlmodem &
try using nohup e.g.
nohup utlscansmart-mifare &
etc. or use the daemon program or similar, or if these are binaries created
from C code, use the daemon(3) function. google or man should provide
details.
> To add the init script I used :
> update-rc.d /etc/init.d/dex.sh defaults 99
>
> In TS 7200 with kernel 2.4 when my init script ends the processes
> have their ppid changed to 1 and they continue running. In Ts7260 and
> TS kernel 2.6.21, when my init script ends all the child processes
> die with it. Is there a kernel configuration to prevent the init
> child processes from dieing with their parent ?
>
> Best,
> Fábio Vaz.
>
>
>
>
>
------------------------------------
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/
|