[BusyBox-cvs] busybox/include usage.h,1.143,1.144
Glenn McGrath
bug1 at busybox.net
Sat Feb 15 11:51:04 UTC 2003
Update of /var/cvs/busybox/include
In directory winder:/tmp/cvs-serv6050/include
Modified Files:
usage.h
Log Message:
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.
Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- usage.h 9 Feb 2003 06:51:13 -0000 1.143
+++ usage.h 15 Feb 2003 11:50:30 -0000 1.144
@@ -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 ]"
More information about the busybox-cvs
mailing list