Xref: utzoo comp.unix.wizards:13573 comp.unix.questions:10780 Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ukma!gatech!purdue!decwrl!hplabs!hp-sdd!ucsdhub!isg100!nusdhub!rwhite From: rwhite@nusdhub.UUCP (Robert C. White Jr.) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: /etc/rc.2 and background processes Message-ID: <1268@nusdhub.UUCP> Date: 12 Dec 88 20:30:40 GMT References: <890@creare.UUCP> Organization: National University, San Diego Lines: 15 in article <890@creare.UUCP>, gda@creare.UUCP (Gray Abbott) says: > Anyway, I'd like to know what's going on, and also how to make it do > what I want. Why does the background process die? How can I prevent > this? Everything from /etc/rc().d is run under a single shell. when you release execution back to the master shell it is getting "death of a parent"ed to death. You will either have to protect the shell against signals, or run it some different way. How 'bout adding the script to /etc/inittab at the bottom with the code "once". It dosn't really have to be at the end, but this way the gettys are running before the process starts. Rob.