summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2021-06-16 10:49:18 +0200
committerDenys Vlasenko2021-06-16 10:49:18 +0200
commit1abaa6b84c2213c59ed6b8232263a7d4bbfb69a9 (patch)
tree488ca6589ecb6d8c70a4221f07b20292734d4313
parenta885ce1af05c4eaa5ebcf883cb3da3433ca1c48b (diff)
downloadbusybox-1abaa6b84c2213c59ed6b8232263a7d4bbfb69a9.zip
busybox-1abaa6b84c2213c59ed6b8232263a7d4bbfb69a9.tar.gz
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 6ca231c..096d4c1 100644
--- a/networking/ftpd.c
+++ b/networking/ftpd.c
@@ -63,7 +63,7 @@
//usage: "FTP server. "
//usage: )
//usage: "Chroots to DIR, if this fails (run by non-root), cds to it.\n"
-//usage: "Should be used as inetd service, inetd.conf line:\n"
+//usage: "It is an inetd service, inetd.conf line:\n"
//usage: " 21 stream tcp nowait root ftpd ftpd /files/to/serve\n"
//usage: "Can be run from tcpsvd:\n"
//usage: " tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve"
diff --git a/networking/telnetd.c b/networking/telnetd.c
index 29f805d..de4d733 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -109,6 +109,7 @@
//usage: "\n -i Inetd mode"
//usage: IF_FEATURE_TELNETD_INETD_WAIT(
//usage: "\n -w SEC Inetd 'wait' mode, linger time SEC"
+//usage: "\n inetd.conf line: 23 stream tcp wait root telnetd telnetd -w10"
//usage: "\n -S Log to syslog (implied by -i or without -F and -w)"
//usage: )
//usage: )
diff --git a/networking/tftp.c b/networking/tftp.c
index 4b86ed9..f5b4367 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -113,10 +113,9 @@
//usage:#define tftpd_full_usage "\n\n"
//usage: "Transfer a file on tftp client's request\n"
//usage: "\n"
-//usage: "tftpd should be used as an inetd service.\n"
-//usage: "tftpd's line for inetd.conf:\n"
+//usage: "tftpd is an inetd service, inetd.conf line:\n"
//usage: " 69 dgram udp nowait root tftpd tftpd -l /files/to/serve\n"
-//usage: "It also can be ran from udpsvd:\n"
+//usage: "Can be run from udpsvd:\n"
//usage: " udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve\n"
//usage: "\n -r Prohibit upload"
//usage: "\n -c Allow file creation via upload"