From b771cb48a61c6094da114d064df7d6b1daa01953 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 30 Apr 2018 10:11:37 +0200 Subject: ftpd: Always build FTP daemon Add support for libbsd initialization. Update #3419. --- cpukit/ftpd/ftpd-init.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 cpukit/ftpd/ftpd-init.c (limited to 'cpukit/ftpd/ftpd-init.c') diff --git a/cpukit/ftpd/ftpd-init.c b/cpukit/ftpd/ftpd-init.c new file mode 100644 index 0000000000..35546ff553 --- /dev/null +++ b/cpukit/ftpd/ftpd-init.c @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2018 embedded brains GmbH. All rights reserved. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#include + +int rtems_initialize_ftpd( void ) +{ + rtems_ftpd_configuration.verbose = true; + return rtems_ftpd_start( &rtems_ftpd_configuration ); +} -- cgit v1.2.3