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 > 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 :)
> + 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?
> +
> +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"
> +endif
> +
> ifdef PTXCONF_BUSYBOX_TELNETD_INETD
> @$(call install_alternative, busybox, 0, 0, 0644,
> /etc/inetd.conf.d/telnetd)
> endif
cheers, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
