summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorStephan Linz <linz@li-pro.net>2010-08-04 17:50:24 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-08-05 08:20:37 +0200
commit0a102c79ae5f0b99a4a203f38988172ed0e42272 (patch)
treeac2e5d50847528d8eec7f72560bbc65cf7cff84d /rules
parent18db7010928e6df582453551b7ea72dec080521a (diff)
downloadptxdist-0a102c79ae5f0b99a4a203f38988172ed0e42272.tar.gz
ptxdist-0a102c79ae5f0b99a4a203f38988172ed0e42272.tar.xz
[inetd] handle ftpd service
Signed-off-by: Stephan Linz <linz@li-pro.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/busybox.in7
-rw-r--r--rules/busybox.make4
2 files changed, 11 insertions, 0 deletions
diff --git a/rules/busybox.in b/rules/busybox.in
index 4f1afe3c8..d7efebedd 100644
--- a/rules/busybox.in
+++ b/rules/busybox.in
@@ -22,6 +22,13 @@ config BUSYBOX_INETD_STARTSCRIPT
default y
prompt "install /etc/init.d/inetd"
+config BUSYBOX_FTPD_INETD
+ depends on BUSYBOX_FTPD
+ bool
+ prompt "ftpd startup type (inetd)"
+ help
+ start busybox ftpd server from inetd
+
choice
prompt "telnetd startup type"
depends on BUSYBOX_TELNETD
diff --git a/rules/busybox.make b/rules/busybox.make
index 238da44a3..11eeddf06 100644
--- a/rules/busybox.make
+++ b/rules/busybox.make
@@ -103,6 +103,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)
+endif
+
ifdef PTXCONF_BUSYBOX_TELNETD_INETD
@$(call install_alternative, busybox, 0, 0, 0644, /etc/inetd.conf.d/telnetd)
endif