[BusyBox] xinetd?

Allan (pls reply to list only) discard at chickenandporn.com
Tue Jan 28 02:19:03 UTC 2003


Dan Kegel wrote:
> [...merciless snip...] 
> So it might be nice for busybox to support xinetd,
> where each service is controlled by a file in /etc/xinetd.d.
> Then our start and stop scripts can just create and
> destroy files in that directory, which is a lot easier
> to script.

An alternative is to support a "-D" option present in some linux
versions of inetd.  The action of "inetd -D /etc/inet.d" is to append
the contents of each file (ftw depth=1) to the /etc/inetd.conf file read
in.

The benefit here is that little additional code would be necessary, and
yield the result you're looking for, but would be compatible with few
linux variants.

Allan



More information about the busybox mailing list