diff options
Diffstat (limited to 'networking/tftp.c')
-rw-r--r-- | networking/tftp.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index 3fe1fcb82..947e65169 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -22,19 +22,19 @@ | |||
22 | //config: bool "tftp (12 kb)" | 22 | //config: bool "tftp (12 kb)" |
23 | //config: default y | 23 | //config: default y |
24 | //config: help | 24 | //config: help |
25 | //config: This enables the Trivial File Transfer Protocol client program. TFTP | 25 | //config: This enables the Trivial File Transfer Protocol client program. TFTP |
26 | //config: is usually used for simple, small transfers such as a root image | 26 | //config: is usually used for simple, small transfers such as a root image |
27 | //config: for a network-enabled bootloader. | 27 | //config: for a network-enabled bootloader. |
28 | //config: | 28 | //config: |
29 | //config:config TFTPD | 29 | //config:config TFTPD |
30 | //config: bool "tftpd (10 kb)" | 30 | //config: bool "tftpd (10 kb)" |
31 | //config: default y | 31 | //config: default y |
32 | //config: help | 32 | //config: help |
33 | //config: This enables the Trivial File Transfer Protocol server program. | 33 | //config: This enables the Trivial File Transfer Protocol server program. |
34 | //config: It expects that stdin is a datagram socket and a packet | 34 | //config: It expects that stdin is a datagram socket and a packet |
35 | //config: is already pending on it. It will exit after one transfer. | 35 | //config: is already pending on it. It will exit after one transfer. |
36 | //config: In other words: it should be run from inetd in nowait mode, | 36 | //config: In other words: it should be run from inetd in nowait mode, |
37 | //config: or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR" | 37 | //config: or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR" |
38 | //config: | 38 | //config: |
39 | //config:comment "Common options for tftp/tftpd" | 39 | //config:comment "Common options for tftp/tftpd" |
40 | //config: depends on TFTP || TFTPD | 40 | //config: depends on TFTP || TFTPD |
@@ -44,29 +44,29 @@ | |||
44 | //config: default y | 44 | //config: default y |
45 | //config: depends on TFTP || TFTPD | 45 | //config: depends on TFTP || TFTPD |
46 | //config: help | 46 | //config: help |
47 | //config: Add support for the GET command within the TFTP client. This allows | 47 | //config: Add support for the GET command within the TFTP client. This allows |
48 | //config: a client to retrieve a file from a TFTP server. | 48 | //config: a client to retrieve a file from a TFTP server. |
49 | //config: Also enable upload support in tftpd, if tftpd is selected. | 49 | //config: Also enable upload support in tftpd, if tftpd is selected. |
50 | //config: | 50 | //config: |
51 | //config: Note: this option does _not_ make tftpd capable of download | 51 | //config: Note: this option does _not_ make tftpd capable of download |
52 | //config: (the usual operation people need from it)! | 52 | //config: (the usual operation people need from it)! |
53 | //config: | 53 | //config: |
54 | //config:config FEATURE_TFTP_PUT | 54 | //config:config FEATURE_TFTP_PUT |
55 | //config: bool "Enable 'tftp put' and/or tftpd download code" | 55 | //config: bool "Enable 'tftp put' and/or tftpd download code" |
56 | //config: default y | 56 | //config: default y |
57 | //config: depends on TFTP || TFTPD | 57 | //config: depends on TFTP || TFTPD |
58 | //config: help | 58 | //config: help |
59 | //config: Add support for the PUT command within the TFTP client. This allows | 59 | //config: Add support for the PUT command within the TFTP client. This allows |
60 | //config: a client to transfer a file to a TFTP server. | 60 | //config: a client to transfer a file to a TFTP server. |
61 | //config: Also enable download support in tftpd, if tftpd is selected. | 61 | //config: Also enable download support in tftpd, if tftpd is selected. |
62 | //config: | 62 | //config: |
63 | //config:config FEATURE_TFTP_BLOCKSIZE | 63 | //config:config FEATURE_TFTP_BLOCKSIZE |
64 | //config: bool "Enable 'blksize' and 'tsize' protocol options" | 64 | //config: bool "Enable 'blksize' and 'tsize' protocol options" |
65 | //config: default y | 65 | //config: default y |
66 | //config: depends on TFTP || TFTPD | 66 | //config: depends on TFTP || TFTPD |
67 | //config: help | 67 | //config: help |
68 | //config: Allow tftp to specify block size, and tftpd to understand | 68 | //config: Allow tftp to specify block size, and tftpd to understand |
69 | //config: "blksize" and "tsize" options. | 69 | //config: "blksize" and "tsize" options. |
70 | //config: | 70 | //config: |
71 | //config:config FEATURE_TFTP_PROGRESS_BAR | 71 | //config:config FEATURE_TFTP_PROGRESS_BAR |
72 | //config: bool "Enable progress bar" | 72 | //config: bool "Enable progress bar" |
@@ -78,8 +78,8 @@ | |||
78 | //config: default n | 78 | //config: default n |
79 | //config: depends on TFTP || TFTPD | 79 | //config: depends on TFTP || TFTPD |
80 | //config: help | 80 | //config: help |
81 | //config: Make tftp[d] print debugging messages on stderr. | 81 | //config: Make tftp[d] print debugging messages on stderr. |
82 | //config: This is useful if you are diagnosing a bug in tftp[d]. | 82 | //config: This is useful if you are diagnosing a bug in tftp[d]. |
83 | 83 | ||
84 | //applet:#if ENABLE_FEATURE_TFTP_GET || ENABLE_FEATURE_TFTP_PUT | 84 | //applet:#if ENABLE_FEATURE_TFTP_GET || ENABLE_FEATURE_TFTP_PUT |
85 | //applet:IF_TFTP(APPLET(tftp, BB_DIR_USR_BIN, BB_SUID_DROP)) | 85 | //applet:IF_TFTP(APPLET(tftp, BB_DIR_USR_BIN, BB_SUID_DROP)) |