[BusyBox] xinetd?
Russ Dill
Russ.Dill at asu.edu
Tue Jan 28 12:39:05 UTC 2003
On Mon, 2003-01-27 at 17:25, Allan (pls reply to list only) wrote:
> 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.
I thought about it some more, and I still don't see the point. If you
want a user editable file, make a /etc/inetd.d/inetd.conf where users
can put the services they want. When a user wants to restart notify
inetd of their changes, they run /etc/init.d/inetd restart and it
combines all the files, and sends -HUP to inetd. KISS
--
Russ Dill <Russ.Dill at asu.edu>
More information about the busybox
mailing list