summaryrefslogtreecommitdiffhomepage
path: root/networking
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 /networking
parenta885ce1af05c4eaa5ebcf883cb3da3433ca1c48b (diff)
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>
Diffstat (limited to 'networking')
-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 @@
//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 29f805de7..de4d733f9 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 4b86ed9de..f5b4367ca 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"