summaryrefslogtreecommitdiffstats
path: root/cpukit/telnetd/telnetd-init.c
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijay@rtems.org>2021-04-13 11:57:21 -0600
committerVijay Kumar Banerjee <vijay@rtems.org>2021-04-13 11:57:21 -0600
commit650ac700664238b842f13523cc8b1604d24b1794 (patch)
treecdd0d85dc8fedd8759cfbbbc829280dece7a17b0 /cpukit/telnetd/telnetd-init.c
parentdisp_hcms29xx.c: Unused value (CID #1399752) (diff)
downloadrtems-650ac700664238b842f13523cc8b1604d24b1794.tar.bz2
Revert "cpukit: Remove telnetd"
This reverts commit 3299dda2454a8847c670a732f6c12ef1f2cc5dd0.
Diffstat (limited to 'cpukit/telnetd/telnetd-init.c')
-rw-r--r--cpukit/telnetd/telnetd-init.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpukit/telnetd/telnetd-init.c b/cpukit/telnetd/telnetd-init.c
new file mode 100644
index 0000000000..586aaef75d
--- /dev/null
+++ b/cpukit/telnetd/telnetd-init.c
@@ -0,0 +1,18 @@
+/*
+ * 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.
+ */
+
+#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 );
+}