[Buildroot] [PATCH] vsftpd: install sample config file to /etc
Peter Korsgaard
jacmet at uclibc.org
Sun Jan 20 21:17:50 UTC 2013
>>>>> "Stephan" == Stephan Hoffmann <sho at relinux.de> writes:
Stephan> vsftpd comes with a sample config file that can serve as a starting
Stephan> point for customization and enables a basic functionality. Since
Stephan> this config refers to a directory "/usr/share/empty" this is also
Stephan> created.
Stephan> Signed-off-by: Stephan Hoffmann <sho at relinux.de>
Stephan> ---
Stephan> package/vsftpd/vsftpd.mk | 4 ++++
Stephan> 1 files changed, 4 insertions(+), 0 deletions(-)
Stephan> diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk
Stephan> index ca711bb..f694b87 100644
Stephan> --- a/package/vsftpd/vsftpd.mk
Stephan> +++ b/package/vsftpd/vsftpd.mk
Stephan> @@ -37,6 +37,10 @@ define VSFTPD_INSTALL_TARGET_CMDS
Stephan> test -f $(TARGET_DIR)/etc/init.d/S70vsftpd || \
Stephan> $(INSTALL) -D -m 755 package/vsftpd/vsftpd-init \
Stephan> $(TARGET_DIR)/etc/init.d/S70vsftpd
Stephan> + test -f $(TARGET_DIR)/etc/vsftpd.conf || \
Stephan> + $(INSTALL) -D -m 644 $(@D)/vsftpd.conf \
Stephan> + $(TARGET_DIR)/etc/vsftpd.conf
Stephan> + $(INSTALL) -d -m 755 $(TARGET_DIR)/usr/share/empty
Committed minus the /usr/share/empty creation, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list