aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-06-16 10:49:18 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-06-16 10:49:18 +0200
commit1abaa6b84c2213c59ed6b8232263a7d4bbfb69a9 (patch)
tree488ca6589ecb6d8c70a4221f07b20292734d4313
parenta885ce1af05c4eaa5ebcf883cb3da3433ca1c48b (diff)
downloadbusybox-w32-1abaa6b84c2213c59ed6b8232263a7d4bbfb69a9.tar.gz
busybox-w32-1abaa6b84c2213c59ed6b8232263a7d4bbfb69a9.tar.bz2
busybox-w32-1abaa6b84c2213c59ed6b8232263a7d4bbfb69a9.zip
telnetd: give inetd.conf example in --help
function old new delta packed_usage 33537 33522 -15 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/ftpd.c2
-rw-r--r--networking/telnetd.c1
-rw-r--r--networking/tftp.c5
3 files changed, 4 insertions, 4 deletions
diff --git a/networking/ftpd.c b/networking/ftpd.c
index 6ca231c90..096d4c14d 100644
--- a/networking/ftpd.c
+++ b/networking/ftpd.c
@@ -63,7 +63,7 @@
63//usage: "FTP server. " 63//usage: "FTP server. "
64//usage: ) 64//usage: )
65//usage: "Chroots to DIR, if this fails (run by non-root), cds to it.\n" 65//usage: "Chroots to DIR, if this fails (run by non-root), cds to it.\n"
66//usage: "Should be used as inetd service, inetd.conf line:\n" 66//usage: "It is an inetd service, inetd.conf line:\n"
67//usage: " 21 stream tcp nowait root ftpd ftpd /files/to/serve\n" 67//usage: " 21 stream tcp nowait root ftpd ftpd /files/to/serve\n"
68//usage: "Can be run from tcpsvd:\n" 68//usage: "Can be run from tcpsvd:\n"
69//usage: " tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve" 69//usage: " tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve"
diff --git a/networking/telnetd.c b/networking/telnetd.c
index 29f805de7..de4d733f9 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -109,6 +109,7 @@
109//usage: "\n -i Inetd mode" 109//usage: "\n -i Inetd mode"
110//usage: IF_FEATURE_TELNETD_INETD_WAIT( 110//usage: IF_FEATURE_TELNETD_INETD_WAIT(
111//usage: "\n -w SEC Inetd 'wait' mode, linger time SEC" 111//usage: "\n -w SEC Inetd 'wait' mode, linger time SEC"
112//usage: "\n inetd.conf line: 23 stream tcp wait root telnetd telnetd -w10"
112//usage: "\n -S Log to syslog (implied by -i or without -F and -w)" 113//usage: "\n -S Log to syslog (implied by -i or without -F and -w)"
113//usage: ) 114//usage: )
114//usage: ) 115//usage: )
diff --git a/networking/tftp.c b/networking/tftp.c
index 4b86ed9de..f5b4367ca 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -113,10 +113,9 @@
113//usage:#define tftpd_full_usage "\n\n" 113//usage:#define tftpd_full_usage "\n\n"
114//usage: "Transfer a file on tftp client's request\n" 114//usage: "Transfer a file on tftp client's request\n"
115//usage: "\n" 115//usage: "\n"
116//usage: "tftpd should be used as an inetd service.\n" 116//usage: "tftpd is an inetd service, inetd.conf line:\n"
117//usage: "tftpd's line for inetd.conf:\n"
118//usage: " 69 dgram udp nowait root tftpd tftpd -l /files/to/serve\n" 117//usage: " 69 dgram udp nowait root tftpd tftpd -l /files/to/serve\n"
119//usage: "It also can be ran from udpsvd:\n" 118//usage: "Can be run from udpsvd:\n"
120//usage: " udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve\n" 119//usage: " udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve\n"
121//usage: "\n -r Prohibit upload" 120//usage: "\n -r Prohibit upload"
122//usage: "\n -c Allow file creation via upload" 121//usage: "\n -c Allow file creation via upload"