Am Dienstag, 3. August 2010, um 23:58:31 schrieb Marc Kleine-Budde:
> Stephan Linz wrote:
> > Signed-off-by: Stephan Linz <[email protected]>
> > ---
> > generic/etc/inetd.conf.d/ftpd | 1 +
> > rules/busybox.in | 11 +++++++++++
> > rules/busybox.make | 4 ++++
> > 3 files changed, 16 insertions(+), 0 deletions(-)
> > create mode 100644 generic/etc/inetd.conf.d/ftpd
> >
> > diff --git a/generic/etc/inetd.conf.d/ftpd
> > b/generic/etc/inetd.conf.d/ftpd new file mode 100644
> > index 0000000..d80c851
> > --- /dev/null
> > +++ b/generic/etc/inetd.conf.d/ftpd
> > @@ -0,0 +1 @@
> > +ftp stream tcp nowait root /usr/sbin/ftpd ftpd -w -S /tmp
^^^^^^
this is "generic/etc/inetd.conf.d/ftpd" -- that's all.
> > diff --git a/rules/busybox.in b/rules/busybox.in
> > index 001d4fc..cc1a410 100644
> > --- a/rules/busybox.in
> > +++ b/rules/busybox.in
> > @@ -22,6 +22,17 @@ config BUSYBOX_INETD_STARTSCRIPT
> > prompt "install /etc/init.d/inetd"
> >
> > choice
>
> You don't really have a choice here, do you :)
You are right. I'll change it, because there is no way to use busybox ftpd
stand alone via startscript. I'll rework the patch.
>
> > + prompt "ftpd startup type"
> > + depends on BUSYBOX_FTPD
> > +
> > + config BUSYBOX_FTPD_INETD
> > + bool
> > + prompt "inetd"
> > + help
> > + start busybox ftpd server from inetd
> > +endchoice
>
> can the busybox ftpd only be started from inetd or does is support stand
> alone via startscript?
dito.
>
> > +
> > +choice
> > prompt "telnetd startup type"
> > depends on BUSYBOX_TELNETD
> >
> > diff --git a/rules/busybox.make b/rules/busybox.make
> > index 4c0a56e..75af30e 100644
> > --- a/rules/busybox.make
> > +++ b/rules/busybox.make
> > @@ -99,6 +99,10 @@ endif
> > $(call install_link, busybox, "$${to}", "$${link}"); \
> > done
> >
> > +ifdef PTXCONF_BUSYBOX_FTPD_INETD
> > + @$(call install_alternative, busybox, 0, 0, 0644,
> > /etc/inetd.conf.d/ftpd)
>
> please provice a file for "generic/etc/inetd.conf.d/ftpd"
see far above my awnsers
>
> > +endif
> > +
> > ifdef PTXCONF_BUSYBOX_TELNETD_INETD
> > @$(call install_alternative, busybox, 0, 0, 0644,
> > /etc/inetd.conf.d/telnetd) endif
>
> cheers, Marc
--
Viele Grüße,
Stephan Linz
______________________________________________________________________________
OpenDCC: http://www.li-pro.net/opendcc.phtml
PC/M: http://www.li-pro.net/pcm.phtml
CDK4AVR: http://cdk4avr.sourceforge.net/
CDK4NIOS: http://cdk4nios.sourceforge.net/
CDK4MSP: http://cdk4msp.sourceforge.net/
CPM4L: http://download.opensuse.org/repositories/home:/rexut:/CPM4L
--
ptxdist mailing list
[email protected]