On Thu Oct 18, 2001 at 07:57:12PM +0200, Ilic Aleksandar wrote:
> Right now, I have some other and very strange problem. I have rc.S as my
> startup script and I put there line which have to start inetd :
> /usr/sbin/rc.inetd start
> But it doesn't work:(?! I can start inetd manually with
> > /etc/init.d/rc.inetd start
> but via rc.S I can't.

You need to use start-stop-daemon to launch a daemon, unless
your inetd daemonizes itself (most do not).  Otherwise, when
your init script exits, the inetd child process will be killed
by the kernel.   There is a start-stop-daemon busybox applet
in CVS HEAD (but not in the current stable release)

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--

--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to