From: Stephan Hoffmann Date: Tue, 15 Jan 2013 23:24:08 +0000 (+0000) Subject: vsftpd: install sample config file to /etc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3ea5e8d3d5faaad209a55ef9e17cc7b5761b2fc;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- 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