/etc/rc.2 and background processes

Robert C. White Jr. rwhite at nusdhub.UUCP
Tue Dec 13 06:30:40 AEST 1988


in article <890 at creare.UUCP>, gda at 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.



More information about the Comp.unix.wizards mailing list