diff options
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 \ |