diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 8 | ||||
-rw-r--r-- | include/usage.h | 12 |
2 files changed, 11 insertions, 9 deletions
diff --git a/include/applets.h b/include/applets.h index 386f4b110..00d3aee1e 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -132,8 +132,8 @@ USE_FSCK(APPLET(fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) | |||
132 | //USE_E2FSCK(APPLET_NOUSAGE(fsck.ext2, e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 132 | //USE_E2FSCK(APPLET_NOUSAGE(fsck.ext2, e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
133 | //USE_E2FSCK(APPLET_NOUSAGE(fsck.ext3, e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 133 | //USE_E2FSCK(APPLET_NOUSAGE(fsck.ext3, e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
134 | USE_FSCK_MINIX(APPLET_ODDNAME(fsck.minix, fsck_minix, _BB_DIR_SBIN, _BB_SUID_NEVER, fsck_minix)) | 134 | USE_FSCK_MINIX(APPLET_ODDNAME(fsck.minix, fsck_minix, _BB_DIR_SBIN, _BB_SUID_NEVER, fsck_minix)) |
135 | USE_FTPGET(APPLET_ODDNAME(ftpget, ftpgetput, _BB_DIR_USR_BIN, _BB_SUID_NEVER,ftpget)) | 135 | USE_FTPGET(APPLET_ODDNAME(ftpget, ftpgetput, _BB_DIR_USR_BIN, _BB_SUID_NEVER, ftpget)) |
136 | USE_FTPPUT(APPLET_ODDNAME(ftpput, ftpgetput, _BB_DIR_USR_BIN, _BB_SUID_NEVER,ftpput)) | 136 | USE_FTPPUT(APPLET_ODDNAME(ftpput, ftpgetput, _BB_DIR_USR_BIN, _BB_SUID_NEVER, ftpput)) |
137 | USE_FUSER(APPLET(fuser, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 137 | USE_FUSER(APPLET(fuser, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
138 | USE_GETENFORCE(APPLET(getenforce, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | 138 | USE_GETENFORCE(APPLET(getenforce, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) |
139 | USE_GETOPT(APPLET(getopt, _BB_DIR_BIN, _BB_SUID_NEVER)) | 139 | USE_GETOPT(APPLET(getopt, _BB_DIR_BIN, _BB_SUID_NEVER)) |
@@ -293,7 +293,7 @@ USE_SYSLOGD(APPLET(syslogd, _BB_DIR_SBIN, _BB_SUID_NEVER)) | |||
293 | USE_TAIL(APPLET(tail, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 293 | USE_TAIL(APPLET(tail, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
294 | USE_TAR(APPLET(tar, _BB_DIR_BIN, _BB_SUID_NEVER)) | 294 | USE_TAR(APPLET(tar, _BB_DIR_BIN, _BB_SUID_NEVER)) |
295 | USE_TASKSET(APPLET(taskset, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 295 | USE_TASKSET(APPLET(taskset, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
296 | USE_TCPSVD(APPLET(tcpsvd, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 296 | USE_TCPSVD(APPLET_ODDNAME(tcpsvd, tcpudpsvd, _BB_DIR_USR_BIN, _BB_SUID_NEVER, tcpsvd)) |
297 | USE_TEE(APPLET(tee, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 297 | USE_TEE(APPLET(tee, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
298 | USE_TELNET(APPLET(telnet, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 298 | USE_TELNET(APPLET(telnet, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
299 | USE_TELNETD(APPLET(telnetd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | 299 | USE_TELNETD(APPLET(telnetd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) |
@@ -311,7 +311,7 @@ USE_TTY(APPLET(tty, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | |||
311 | //USE_TUNE2FS(APPLET(tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 311 | //USE_TUNE2FS(APPLET(tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
312 | USE_APP_UDHCPC(APPLET(udhcpc, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 312 | USE_APP_UDHCPC(APPLET(udhcpc, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
313 | USE_APP_UDHCPD(APPLET(udhcpd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | 313 | USE_APP_UDHCPD(APPLET(udhcpd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) |
314 | USE_UDPSVD(APPLET(udpsvd, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 314 | USE_UDPSVD(APPLET_ODDNAME(udpsvd, tcpudpsvd, _BB_DIR_USR_BIN, _BB_SUID_NEVER, udpsvd)) |
315 | USE_UMOUNT(APPLET(umount, _BB_DIR_BIN, _BB_SUID_NEVER)) | 315 | USE_UMOUNT(APPLET(umount, _BB_DIR_BIN, _BB_SUID_NEVER)) |
316 | USE_UNAME(APPLET(uname, _BB_DIR_BIN, _BB_SUID_NEVER)) | 316 | USE_UNAME(APPLET(uname, _BB_DIR_BIN, _BB_SUID_NEVER)) |
317 | USE_UNCOMPRESS(APPLET(uncompress, _BB_DIR_BIN, _BB_SUID_NEVER)) | 317 | USE_UNCOMPRESS(APPLET(uncompress, _BB_DIR_BIN, _BB_SUID_NEVER)) |
diff --git a/include/usage.h b/include/usage.h index bab14f5c3..5f1bf24cb 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3331,7 +3331,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3331 | /* "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] [-i dir|-x cdb] [ -t sec] ip port prog..." */ | 3331 | /* "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] [-i dir|-x cdb] [ -t sec] ip port prog..." */ |
3332 | #define tcpsvd_full_usage \ | 3332 | #define tcpsvd_full_usage \ |
3333 | "Creates TCP socket, binds it to host:port and listens on in\n" \ | 3333 | "Creates TCP socket, binds it to host:port and listens on in\n" \ |
3334 | "for incoming connections. For each connection it runs prog" \ | 3334 | "for incoming connections. For each connection it runs prog." \ |
3335 | "\n" \ | 3335 | "\n" \ |
3336 | "\nip IP to listen on. '0' = all" \ | 3336 | "\nip IP to listen on. '0' = all" \ |
3337 | "\nport Port to listen on" \ | 3337 | "\nport Port to listen on" \ |
@@ -3339,27 +3339,29 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3339 | "\n-l name Local hostname (else looks up local hostname in DNS)" \ | 3339 | "\n-l name Local hostname (else looks up local hostname in DNS)" \ |
3340 | "\n-u user[:group] Change to user/group after bind" \ | 3340 | "\n-u user[:group] Change to user/group after bind" \ |
3341 | "\n-c n Handle up to n connections simultaneously" \ | 3341 | "\n-c n Handle up to n connections simultaneously" \ |
3342 | "\n-b n Allow a backlog of approximately n TCP SYNs" \ | ||
3342 | "\n-C n[:msg] Allow only up to n connections from the same IP" \ | 3343 | "\n-C n[:msg] Allow only up to n connections from the same IP" \ |
3343 | "\n New connections from this IP address are closed" \ | 3344 | "\n New connections from this IP address are closed" \ |
3344 | "\n immediately. 'msg' is written to the peer before close" \ | 3345 | "\n immediately. 'msg' is written to the peer before close" \ |
3345 | "\n-h Look up peer's hostname" \ | 3346 | "\n-h Look up peer's hostname" \ |
3346 | "\n-b n Allow a backlog of approximately n TCP SYNs" \ | ||
3347 | "\n-E Do not set up TCP-related environment variables" \ | 3347 | "\n-E Do not set up TCP-related environment variables" \ |
3348 | "\n-v Verbose" | 3348 | "\n-v Verbose" |
3349 | 3349 | ||
3350 | #define udpsvd_trivial_usage \ | 3350 | #define udpsvd_trivial_usage \ |
3351 | "[-hv] [-u user] [-l name] host port prog" | 3351 | "[-hEv] [-u user] [-l name] host port prog" |
3352 | #define udpsvd_full_usage \ | 3352 | #define udpsvd_full_usage \ |
3353 | "Creates UDP socket, binds it to host:port and listens on in\n" \ | 3353 | "Creates UDP socket, binds it to host:port and listens on in\n" \ |
3354 | "for incoming packets. When packet arrives it runs prog.\n" \ | 3354 | "for incoming packets. For each packet it runs prog\n" \ |
3355 | "When prog exits, it start to listen on the socket again" \ | 3355 | "(redirecting all further packets with same peer ip:port to it)." \ |
3356 | "\n" \ | 3356 | "\n" \ |
3357 | "\nip IP to listen on. '0' = all" \ | 3357 | "\nip IP to listen on. '0' = all" \ |
3358 | "\nport Port to listen on" \ | 3358 | "\nport Port to listen on" \ |
3359 | "\nprog [arg] Program to run" \ | 3359 | "\nprog [arg] Program to run" \ |
3360 | "\n-l name Local hostname (else looks up local hostname in DNS)" \ | 3360 | "\n-l name Local hostname (else looks up local hostname in DNS)" \ |
3361 | "\n-u user[:group] Change to user/group after bind" \ | 3361 | "\n-u user[:group] Change to user/group after bind" \ |
3362 | "\n-c n Handle up to n connections simultaneously" \ | ||
3362 | "\n-h Look up peer's hostname" \ | 3363 | "\n-h Look up peer's hostname" \ |
3364 | "\n-E Do not set up TCP-related environment variables" \ | ||
3363 | "\n-v Verbose" | 3365 | "\n-v Verbose" |
3364 | 3366 | ||
3365 | #define tftp_trivial_usage \ | 3367 | #define tftp_trivial_usage \ |