[BusyBox] Pidfile option for telnetd

Vladimir N. Oleynik dzo at simtreas.ru
Wed Feb 9 09:03:19 UTC 2005


David M. Lee wrote:

> I've attached a patch (also found at
> http://hsvLees.homeip.net/telnetd-pidfile.diff) that moves the pidfile
> functionality from udhcp to libbb, and then uses that to add a -i option

Russ Dill does not want the greater integration with a busybox :(
For example:

 > +	if (pid_fd < 0) {
 > +		printf("Unable to open pidfile %s: %m\n", pidfile);

to busybox style should write as:

	if (pid_fd < 0) {
		bb_perror_msg("%s", pidfile);

To me also it is strange, that udhcp/pidfile.c has ceased to
contain my copyright. :(
(atexit, saved_pidfile is my idea from last_patch88).
http://www.busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/networking/udhcp/common.c?rev=6922&view=markup



--w
vodz



More information about the busybox mailing list