diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-09-30 20:52:10 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-09-30 20:52:10 +0000 |
commit | 08a72209c9b5cb74d851ef5c3db8c16eee6f657d (patch) | |
tree | baa06980ecaf8a8cedb27887f6da8b6d47e9f8c6 /include | |
parent | 02e6ba91e887bd11146a57185b223582f56f3f09 (diff) | |
download | busybox-w32-08a72209c9b5cb74d851ef5c3db8c16eee6f657d.tar.gz busybox-w32-08a72209c9b5cb74d851ef5c3db8c16eee6f657d.tar.bz2 busybox-w32-08a72209c9b5cb74d851ef5c3db8c16eee6f657d.zip |
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.h | 3 | ||||
-rw-r--r-- | include/usage.h | 8 |
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 @@ | |||
464 | #ifdef CONFIG_TELNET | 464 | #ifdef CONFIG_TELNET |
465 | APPLET(telnet, telnet_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 465 | APPLET(telnet, telnet_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
466 | #endif | 466 | #endif |
467 | #ifdef CONFIG_TELNETD | ||
468 | APPLET(telnetd, telnetd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER) | ||
469 | #endif | ||
467 | #ifdef CONFIG_TEST | 470 | #ifdef CONFIG_TEST |
468 | APPLET(test, test_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 471 | APPLET(test, test_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
469 | #endif | 472 | #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 @@ | |||
1801 | "Telnet is used to establish interactive communication with another\n"\ | 1801 | "Telnet is used to establish interactive communication with another\n"\ |
1802 | "computer over a network using the TELNET protocol." | 1802 | "computer over a network using the TELNET protocol." |
1803 | 1803 | ||
1804 | #define telnetd_trivial_usage \ | ||
1805 | "[OPTION]" | ||
1806 | #define telnetd_full_usage \ | ||
1807 | "Telnetd listens for incoming TELNET connections on PORT.\n"\ | ||
1808 | "Options:\n" \ | ||
1809 | "\t-p PORT\tlisten for connections on PORT (default 23)\n"\ | ||
1810 | "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)" | ||
1811 | |||
1804 | #define test_trivial_usage \ | 1812 | #define test_trivial_usage \ |
1805 | "EXPRESSION\n or [ EXPRESSION ]" | 1813 | "EXPRESSION\n or [ EXPRESSION ]" |
1806 | #define test_full_usage \ | 1814 | #define test_full_usage \ |