From 4a4c677fccabdcd6db509488c9cb5d784afaa59d Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sat, 15 Feb 2003 11:50:33 +0000 Subject: Patch from Bastian Blank - ip route flush - different usage for telnetd in inetd mode - changes for the default flags of the ip features - if no /usr requested, udhcpc should use the script also without /usr. --- include/usage.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') diff --git a/include/usage.h b/include/usage.h index 55693c61e..9616906d2 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2084,6 +2084,14 @@ "Telnet is used to establish interactive communication with another\n"\ "computer over a network using the TELNET protocol." +#ifdef CONFIG_FEATURE_TELNETD_INETD +#define telnetd_trivial_usage \ + "(inetd mode) [OPTION]" +#define telnetd_full_usage \ + "Telnetd uses incoming TELNET connections via inetd.\n"\ + "Options:\n" \ + "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)" +#else #define telnetd_trivial_usage \ "[OPTION]" #define telnetd_full_usage \ @@ -2091,6 +2099,7 @@ "Options:\n" \ "\t-p PORT\tlisten for connections on PORT (default 23)\n"\ "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)" +#endif #define test_trivial_usage \ "EXPRESSION\n or [ EXPRESSION ]" -- cgit v1.2.3