summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hoffmann <sho@relinux.de>2013-01-15 23:24:08 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-01-20 21:17:07 (GMT)
commita3ea5e8d3d5faaad209a55ef9e17cc7b5761b2fc (patch)
treecd3cd219401a03958bb00ca67024362a09eb4575
parentf74dbd09818ab25dc79b696a401fd41956033542 (diff)
downloadbuildroot-a3ea5e8d3d5faaad209a55ef9e17cc7b5761b2fc.tar.gz
buildroot-a3ea5e8d3d5faaad209a55ef9e17cc7b5761b2fc.tar.bz2
vsftpd: install sample config file to /etc
vsftpd comes with a sample config file that can serve as a starting point for customization and enables a basic functionality. [Peter: drop /usr/share/empty creation] Signed-off-by: Stephan Hoffmann <sho@relinux.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/vsftpd/vsftpd.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk
index 8d261c8..a075e82 100644
--- a/package/vsftpd/vsftpd.mk
+++ b/package/vsftpd/vsftpd.mk
@@ -44,6 +44,9 @@ define VSFTPD_INSTALL_TARGET_CMDS
test -f $(TARGET_DIR)/etc/init.d/S70vsftpd || \
$(INSTALL) -D -m 755 package/vsftpd/vsftpd-init \
$(TARGET_DIR)/etc/init.d/S70vsftpd
+ test -f $(TARGET_DIR)/etc/vsftpd.conf || \
+ $(INSTALL) -D -m 644 $(@D)/vsftpd.conf \
+ $(TARGET_DIR)/etc/vsftpd.conf
endef
define VSFTPD_UNINSTALL_TARGET_CMDS