aboutsummaryrefslogtreecommitdiff
path: root/networking/telnetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r--networking/telnetd.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c
index eec4417ca..4404064fc 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -20,6 +20,28 @@
20 * Vladimir Oleynik <dzo@simtreas.ru> 2001 20 * Vladimir Oleynik <dzo@simtreas.ru> 2001
21 * Set process group corrections, initial busybox port 21 * Set process group corrections, initial busybox port
22 */ 22 */
23
24//usage:#define telnetd_trivial_usage
25//usage: "[OPTIONS]"
26//usage:#define telnetd_full_usage "\n\n"
27//usage: "Handle incoming telnet connections"
28//usage: IF_NOT_FEATURE_TELNETD_STANDALONE(" via inetd") "\n"
29//usage: "\nOptions:"
30//usage: "\n -l LOGIN Exec LOGIN on connect"
31//usage: "\n -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue"
32//usage: "\n -K Close connection as soon as login exits"
33//usage: "\n (normally wait until all programs close slave pty)"
34//usage: IF_FEATURE_TELNETD_STANDALONE(
35//usage: "\n -p PORT Port to listen on"
36//usage: "\n -b ADDR[:PORT] Address to bind to"
37//usage: "\n -F Run in foreground"
38//usage: "\n -i Inetd mode"
39//usage: IF_FEATURE_TELNETD_INETD_WAIT(
40//usage: "\n -w SEC Inetd 'wait' mode, linger time SEC"
41//usage: "\n -S Log to syslog (implied by -i or without -F and -w)"
42//usage: )
43//usage: )
44
23#define DEBUG 0 45#define DEBUG 0
24 46
25#include "libbb.h" 47#include "libbb.h"