aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-09-30 20:52:10 +0000
committerEric Andersen <andersen@codepoet.org>2002-09-30 20:52:10 +0000
commit08a72209c9b5cb74d851ef5c3db8c16eee6f657d (patch)
treebaa06980ecaf8a8cedb27887f6da8b6d47e9f8c6 /include
parent02e6ba91e887bd11146a57185b223582f56f3f09 (diff)
downloadbusybox-08a72209c9b5cb74d851ef5c3db8c16eee6f657d.tar.gz
last_patch58 from vodz:
Ok. I generate patch for include to busybox-devel my work with top (original author give me maintaining) and telnetd (my support and unofficial maintaining) applets. Docs changes also: added awk, netstat, time applets to list ;)
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h8
2 files changed, 11 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 9508c3a4b..60928aef2 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -464,6 +464,9 @@
#ifdef CONFIG_TELNET
APPLET(telnet, telnet_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_TELNETD
+ APPLET(telnetd, telnetd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_TEST
APPLET(test, test_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
diff --git a/include/usage.h b/include/usage.h
index 33a81c467..1e0fe6805 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1801,6 +1801,14 @@
"Telnet is used to establish interactive communication with another\n"\
"computer over a network using the TELNET protocol."
+#define telnetd_trivial_usage \
+ "[OPTION]"
+#define telnetd_full_usage \
+ "Telnetd listens for incoming TELNET connections on PORT.\n"\
+ "Options:\n" \
+ "\t-p PORT\tlisten for connections on PORT (default 23)\n"\
+ "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)"
+
#define test_trivial_usage \
"EXPRESSION\n or [ EXPRESSION ]"
#define test_full_usage \