diff options
author | Chris Johns <chrisj@rtems.org> | 2016-07-01 15:49:52 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-07-01 15:49:52 +1000 |
commit | 65c65bb7a3e981b01e0dfe42dbd62617b867de55 (patch) | |
tree | 1b2b9050d7cbf77729ce55df2641fcb5810b4e18 /rtemsbsd/telnetd/telnetd-init.c | |
parent | Add ftpd initailize comment. (diff) | |
download | rtems-libbsd-65c65bb7a3e981b01e0dfe42dbd62617b867de55.tar.bz2 |
Add telnetd as service to rc.conf.
Diffstat (limited to 'rtemsbsd/telnetd/telnetd-init.c')
-rw-r--r-- | rtemsbsd/telnetd/telnetd-init.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/rtemsbsd/telnetd/telnetd-init.c b/rtemsbsd/telnetd/telnetd-init.c new file mode 100644 index 00000000..e723def0 --- /dev/null +++ b/rtemsbsd/telnetd/telnetd-init.c @@ -0,0 +1,33 @@ +/***********************************************************/ +/* + * + * The telnet DAEMON + * + * Author: 17,may 2001 + * + * WORK: fernando.ruiz@ctv.es + * HOME: correo@fernando-ruiz.com + * + * Copyright (c) 2009 embedded brains GmbH and others. + * + * embedded brains GmbH + * Obere Lagerstr. 30 + * D-82178 Puchheim + * Germany + * <rtems@embedded-brains.de> + * + * 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. + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <rtems/telnetd.h> + +rtems_status_code rtems_telnetd_initialize(void) +{ + return rtems_telnetd_start(&rtems_telnetd_config); +} |