aboutsummaryrefslogtreecommitdiff
path: root/networking/inetd.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-27 13:34:51 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-27 13:34:51 +0200
commit1d8df52d451c2085365dd2a457e498a7891348ee (patch)
tree9eacebaacf287062255d5c53c61a15e746ae3b71 /networking/inetd.c
parent2e01eec4d3bf52bb3f8332bd74a877a317238f92 (diff)
downloadbusybox-w32-1d8df52d451c2085365dd2a457e498a7891348ee.tar.gz
busybox-w32-1d8df52d451c2085365dd2a457e498a7891348ee.tar.bz2
busybox-w32-1d8df52d451c2085365dd2a457e498a7891348ee.zip
inetd: improve --helpt text and config help text.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rw-r--r--networking/inetd.c39
1 files changed, 29 insertions, 10 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index 2991edc09..91545d0a3 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -161,39 +161,57 @@
161//config: Internet superserver daemon 161//config: Internet superserver daemon
162//config: 162//config:
163//config:config FEATURE_INETD_SUPPORT_BUILTIN_ECHO 163//config:config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
164//config: bool "Support echo service" 164//config: bool "Support echo service on port 7"
165//config: default y 165//config: default y
166//config: depends on INETD 166//config: depends on INETD
167//config: help 167//config: help
168//config: Echo received data internal inetd service 168//config: Internal service which echoes data back.
169//config: Activated by configuration lines like these:
170//config: echo stream tcp nowait root internal
171//config: echo dgram udp wait root internal
169//config: 172//config:
170//config:config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD 173//config:config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
171//config: bool "Support discard service" 174//config: bool "Support discard service on port 8"
172//config: default y 175//config: default y
173//config: depends on INETD 176//config: depends on INETD
174//config: help 177//config: help
175//config: Internet /dev/null internal inetd service 178//config: Internal service which discards all input.
179//config: Activated by configuration lines like these:
180//config: discard stream tcp nowait root internal
181//config: discard dgram udp wait root internal
176//config: 182//config:
177//config:config FEATURE_INETD_SUPPORT_BUILTIN_TIME 183//config:config FEATURE_INETD_SUPPORT_BUILTIN_TIME
178//config: bool "Support time service" 184//config: bool "Support time service on port 37"
179//config: default y 185//config: default y
180//config: depends on INETD 186//config: depends on INETD
181//config: help 187//config: help
182//config: Return 32 bit time since 1900 internal inetd service 188//config: Internal service which returns big-endian 32-bit number
189//config: of seconds passed since 1900-01-01. The number wraps around
190//config: on overflow.
191//config: Activated by configuration lines like these:
192//config: time stream tcp nowait root internal
193//config: time dgram udp wait root internal
183//config: 194//config:
184//config:config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME 195//config:config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
185//config: bool "Support daytime service" 196//config: bool "Support daytime service on port 13"
186//config: default y 197//config: default y
187//config: depends on INETD 198//config: depends on INETD
188//config: help 199//config: help
189//config: Return human-readable time internal inetd service 200//config: Internal service which returns human-readable time.
201//config: Activated by configuration lines like these:
202//config: daytime stream tcp nowait root internal
203//config: daytime dgram udp wait root internal
190//config: 204//config:
191//config:config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN 205//config:config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
192//config: bool "Support chargen service" 206//config: bool "Support chargen service on port 19"
193//config: default y 207//config: default y
194//config: depends on INETD 208//config: depends on INETD
195//config: help 209//config: help
196//config: Familiar character generator internal inetd service 210//config: Internal service which generates endless stream
211//config: of all ASCII chars beetween space and char 126.
212//config: Activated by configuration lines like these:
213//config: chargen stream tcp nowait root internal
214//config: chargen dgram udp wait root internal
197//config: 215//config:
198//config:config FEATURE_INETD_RPC 216//config:config FEATURE_INETD_RPC
199//config: bool "Support RPC services" 217//config: bool "Support RPC services"
@@ -216,6 +234,7 @@
216//usage: "\n -q N Socket listen queue (default 128)" 234//usage: "\n -q N Socket listen queue (default 128)"
217//usage: "\n -R N Pause services after N connects/min" 235//usage: "\n -R N Pause services after N connects/min"
218//usage: "\n (default 0 - disabled)" 236//usage: "\n (default 0 - disabled)"
237//usage: "\n Default CONFFILE is /etc/inetd.conf"
219 238
220#include <syslog.h> 239#include <syslog.h>
221#include <sys/resource.h> /* setrlimit */ 240#include <sys/resource.h> /* setrlimit */