From 1abaa6b84c2213c59ed6b8232263a7d4bbfb69a9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 16 Jun 2021 10:49:18 +0200 Subject: [PATCH] telnetd: give inetd.conf example in --help function old new delta packed_usage 33537 33522 -15 Signed-off-by: Denys Vlasenko --- networking/ftpd.c | 2 +- networking/telnetd.c | 1 + networking/tftp.c | 5 ++--- 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"