aboutsummaryrefslogtreecommitdiff
path: root/package/vsftpd/vsftpd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/vsftpd/vsftpd.mk')
-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 8d261c8626..a075e82629 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