[package] busybox: update to v1.12.4 (partially closes: #4279)
[openwrt/svn-archive/archive.git] / package / busybox / config / miscutils / Config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
4 #
5
6 menu "Miscellaneous Utilities"
7
8 config BUSYBOX_CONFIG_ADJTIMEX
9 bool "adjtimex"
10 default n
11 help
12 Adjtimex reads and optionally sets adjustment parameters for
13 the Linux clock adjustment algorithm.
14
15 config BUSYBOX_CONFIG_BBCONFIG
16 bool "bbconfig"
17 default n
18 help
19 The bbconfig applet will print the config file with which
20 busybox was built.
21
22 config BUSYBOX_CONFIG_CHAT
23 bool "chat"
24 default n
25 help
26 Simple chat utility.
27
28 config BUSYBOX_CONFIG_FEATURE_CHAT_NOFAIL
29 bool "Enable NOFAIL expect strings"
30 depends on BUSYBOX_CONFIG_CHAT
31 default n
32 help
33 When enabled expect strings which are started with a dash trigger
34 no-fail mode. That is when expectation is not met within timeout
35 the script is not terminated but sends next SEND string and waits
36 for next EXPECT string. This allows to compose far more flexible
37 scripts.
38
39 config BUSYBOX_CONFIG_FEATURE_CHAT_TTY_HIFI
40 bool "Force STDIN to be a TTY"
41 depends on BUSYBOX_CONFIG_CHAT
42 default n
43 help
44 Original chat always treats STDIN as a TTY device and sets for it
45 so-called raw mode. This option turns on such behaviour.
46
47 config BUSYBOX_CONFIG_FEATURE_CHAT_IMPLICIT_CR
48 bool "Enable implicit Carriage Return"
49 depends on BUSYBOX_CONFIG_CHAT
50 default n
51 help
52 When enabled make chat to terminate all SEND strings with a "\r"
53 unless "\c" is met anywhere in the string.
54
55 config BUSYBOX_CONFIG_FEATURE_CHAT_SWALLOW_OPTS
56 bool "Swallow options"
57 depends on BUSYBOX_CONFIG_CHAT
58 default n
59 help
60 Busybox chat require no options. To make it not fail when used
61 in place of original chat (which has a bunch of options) turn
62 this on.
63
64 config BUSYBOX_CONFIG_FEATURE_CHAT_SEND_ESCAPES
65 bool "Support weird SEND escapes"
66 depends on BUSYBOX_CONFIG_CHAT
67 default n
68 help
69 Original chat uses some escape sequences in SEND arguments which
70 are not sent to device but rather performs special actions.
71 E.g. "\K" means to send a break sequence to device.
72 "\d" delays execution for a second, "\p" -- for a 1/100 of second.
73 Before turning this option on think twice: do you really need them?
74
75 config BUSYBOX_CONFIG_FEATURE_CHAT_VAR_ABORT_LEN
76 bool "Support variable-length ABORT conditions"
77 depends on BUSYBOX_CONFIG_CHAT
78 default n
79 help
80 Original chat uses fixed 50-bytes length ABORT conditions. Say N here.
81
82 config BUSYBOX_CONFIG_FEATURE_CHAT_CLR_ABORT
83 bool "Support revoking of ABORT conditions"
84 depends on BUSYBOX_CONFIG_CHAT
85 default n
86 help
87 Support CLR_ABORT directive.
88
89 config BUSYBOX_CONFIG_CHRT
90 bool "chrt"
91 default n
92 help
93 manipulate real-time attributes of a process.
94 This requires sched_{g,s}etparam support in your libc.
95
96 config BUSYBOX_CONFIG_CROND
97 bool "crond"
98 default y
99 select BUSYBOX_CONFIG_FEATURE_SUID
100 select BUSYBOX_CONFIG_FEATURE_SYSLOG
101 help
102 Crond is a background daemon that parses individual crontab
103 files and executes commands on behalf of the users in question.
104 This is a port of dcron from slackware. It uses files of the
105 format /var/spool/cron/crontabs/<username> files, for example:
106 $ cat /var/spool/cron/crontabs/root
107 # Run daily cron jobs at 4:40 every day:
108 40 4 * * * /etc/cron/daily > /dev/null 2>&1
109
110 config BUSYBOX_CONFIG_DEBUG_CROND_OPTION
111 bool "Support option -d to redirect output to stderr"
112 depends on BUSYBOX_CONFIG_CROND
113 default n
114 help
115 -d sets loglevel to 0 (most verbose) and directs all output to stderr.
116
117 config BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL
118 bool "Using /usr/sbin/sendmail?"
119 default n
120 depends on BUSYBOX_CONFIG_CROND
121 help
122 Support calling /usr/sbin/sendmail for send cmd outputs.
123
124 config BUSYBOX_CONFIG_CRONTAB
125 bool "crontab"
126 default y
127 select BUSYBOX_CONFIG_FEATURE_SUID
128 help
129 Crontab manipulates the crontab for a particular user. Only
130 the superuser may specify a different user and/or crontab directory.
131 Note that Busybox binary must be setuid root for this applet to
132 work properly.
133
134 config BUSYBOX_CONFIG_DC
135 bool "dc"
136 default n
137 help
138 Dc is a reverse-polish desk calculator which supports unlimited
139 precision arithmetic.
140
141 config BUSYBOX_CONFIG_DEVFSD
142 bool "devfsd (obsolete)"
143 default n
144 select BUSYBOX_CONFIG_FEATURE_SYSLOG
145 help
146 This is deprecated, and will be removed at the end of 2008.
147
148 Provides compatibility with old device names on a devfs systems.
149 You should set it to true if you have devfs enabled.
150 The following keywords in devsfd.conf are supported:
151 "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
152 "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
153 "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
154
155 But only if they are written UPPERCASE!!!!!!!!
156
157 config BUSYBOX_CONFIG_DEVFSD_MODLOAD
158 bool "Adds support for MODLOAD keyword in devsfd.conf"
159 default n
160 depends on BUSYBOX_CONFIG_DEVFSD
161 help
162 This actually doesn't work with busybox modutils but needs
163 the external modutils.
164
165 config BUSYBOX_CONFIG_DEVFSD_FG_NP
166 bool "Enables the -fg and -np options"
167 default n
168 depends on BUSYBOX_CONFIG_DEVFSD
169 help
170 -fg Run the daemon in the foreground.
171 -np Exit after parsing the configuration file.
172 Do not poll for events.
173
174 config BUSYBOX_CONFIG_DEVFSD_VERBOSE
175 bool "Increases logging (and size)"
176 default n
177 depends on BUSYBOX_CONFIG_DEVFSD
178 help
179 Increases logging to stderr or syslog.
180
181 config BUSYBOX_CONFIG_FEATURE_DEVFS
182 bool "Use devfs names for all devices (obsolete)"
183 default n
184 help
185 This is obsolete and will be going away at the end of 2008..
186
187 This tells busybox to look for names like /dev/loop/0 instead of
188 /dev/loop0. If your /dev directory has normal names instead of
189 devfs names, you don't want this.
190
191 config BUSYBOX_CONFIG_EJECT
192 bool "eject"
193 default n
194 help
195 Used to eject cdroms. (defaults to /dev/cdrom)
196
197 config BUSYBOX_CONFIG_FEATURE_EJECT_SCSI
198 bool "SCSI support"
199 default n
200 depends on BUSYBOX_CONFIG_EJECT
201 help
202 Add the -s option to eject, this allows to eject SCSI-Devices and
203 usb-storage devices.
204
205 config BUSYBOX_CONFIG_FBSPLASH
206 bool "fbsplash"
207 default n
208 help
209 Shows splash image and progress bar on framebuffer device.
210 Can be used during boot phase of an embedded device. ~2kb.
211 Usage:
212 - use kernel option 'vga=xxx' or otherwise enable fb device.
213 - put somewhere fbsplash.cfg file and an image in .ppm format.
214 - $ setsid fbsplash [params] &
215 -c: hide cursor
216 -d /dev/fbN: framebuffer device (if not /dev/fb0)
217 -s path_to_image_file (can be "-" for stdin)
218 -i path_to_cfg_file (can be "-" for stdin)
219 -f path_to_fifo (can be "-" for stdin)
220 - if you want to run it only in presence of kernel parameter:
221 grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
222 - commands for fifo:
223 "NN" (ASCII decimal number) - percentage to show on progress bar
224 "exit" - well you guessed it
225
226 config BUSYBOX_CONFIG_INOTIFYD
227 bool "inotifyd"
228 default n
229 help
230 Simple inotify daemon. Reports filesystem changes. Requires
231 kernel >= 2.6.13
232
233 config BUSYBOX_CONFIG_LAST
234 bool "last"
235 default n
236 select BUSYBOX_CONFIG_FEATURE_WTMP
237 help
238 'last' displays a list of the last users that logged into the system.
239
240 choice
241 prompt "Choose last implementation"
242 depends on BUSYBOX_CONFIG_LAST
243 default BUSYBOX_CONFIG_FEATURE_LAST_SMALL
244
245 config BUSYBOX_CONFIG_FEATURE_LAST_SMALL
246 bool "small"
247 help
248 This is a small version of last with just the basic set of
249 features.
250
251 config BUSYBOX_CONFIG_FEATURE_LAST_FANCY
252 bool "huge"
253 help
254 'last' displays detailed information about the last users that
255 logged into the system (mimics sysvinit last). +900 bytes.
256 endchoice
257
258 config BUSYBOX_CONFIG_LESS
259 bool "less"
260 default y
261 help
262 'less' is a pager, meaning that it displays text files. It possesses
263 a wide array of features, and is an improvement over 'more'.
264
265 config BUSYBOX_CONFIG_FEATURE_LESS_MAXLINES
266 int "Max number of input lines less will try to eat"
267 default 9999999
268 depends on BUSYBOX_CONFIG_LESS
269
270 config BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS
271 bool "Enable bracket searching"
272 default n
273 depends on BUSYBOX_CONFIG_LESS
274 help
275 This option adds the capability to search for matching left and right
276 brackets, facilitating programming.
277
278 config BUSYBOX_CONFIG_FEATURE_LESS_FLAGS
279 bool "Enable extra flags"
280 default n
281 depends on BUSYBOX_CONFIG_LESS
282 help
283 The extra flags provided do the following:
284
285 The -M flag enables a more sophisticated status line.
286 The -m flag enables a simpler status line with a percentage.
287
288 config BUSYBOX_CONFIG_FEATURE_LESS_FLAGCS
289 bool "Enable flag changes"
290 default n
291 depends on BUSYBOX_CONFIG_LESS
292 help
293 This enables the ability to change command-line flags within
294 less itself.
295
296 config BUSYBOX_CONFIG_FEATURE_LESS_MARKS
297 bool "Enable marks"
298 default n
299 depends on BUSYBOX_CONFIG_LESS
300 help
301 Marks enable positions in a file to be stored for easy reference.
302
303 config BUSYBOX_CONFIG_FEATURE_LESS_REGEXP
304 bool "Enable regular expressions"
305 default n
306 depends on BUSYBOX_CONFIG_LESS
307 help
308 Enable regular expressions, allowing complex file searches.
309
310 config BUSYBOX_CONFIG_HDPARM
311 bool "hdparm"
312 default n
313 help
314 Get/Set hard drive parameters. Primarily intended for ATA
315 drives. Adds about 13k (or around 30k if you enable the
316 FEATURE_HDPARM_GET_IDENTITY option)....
317
318 config BUSYBOX_CONFIG_FEATURE_HDPARM_GET_IDENTITY
319 bool "Support obtaining detailed information directly from drives"
320 default n
321 depends on BUSYBOX_CONFIG_HDPARM
322 help
323 Enables the -I and -i options to obtain detailed information
324 directly from drives about their capabilities and supported ATA
325 feature set. If no device name is specified, hdparm will read
326 identify data from stdin. Enabling this option will add about 16k...
327
328 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
329 bool "Register an IDE interface (DANGEROUS)"
330 default n
331 depends on BUSYBOX_CONFIG_HDPARM
332 help
333 Enables the 'hdparm -R' option to register an IDE interface.
334 This is dangerous stuff, so you should probably say N.
335
336 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
337 bool "Un-register an IDE interface (DANGEROUS)"
338 default n
339 depends on BUSYBOX_CONFIG_HDPARM
340 help
341 Enables the 'hdparm -U' option to un-register an IDE interface.
342 This is dangerous stuff, so you should probably say N.
343
344 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
345 bool "Perform device reset (DANGEROUS)"
346 default n
347 depends on BUSYBOX_CONFIG_HDPARM
348 help
349 Enables the 'hdparm -w' option to perform a device reset.
350 This is dangerous stuff, so you should probably say N.
351
352 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
353 bool "Tristate device for hotswap (DANGEROUS)"
354 default n
355 depends on BUSYBOX_CONFIG_HDPARM
356 help
357 Enables the 'hdparm -x' option to tristate device for hotswap,
358 and the '-b' option to get/set bus state. This is dangerous
359 stuff, so you should probably say N.
360
361 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
362 bool "Get/set using_dma flag (DANGEROUS)"
363 default n
364 depends on BUSYBOX_CONFIG_HDPARM
365 help
366 Enables the 'hdparm -d' option to get/set using_dma flag.
367 This is dangerous stuff, so you should probably say N.
368
369 config BUSYBOX_CONFIG_LOCK
370 bool "lock"
371 default y
372 help
373 Small utility for using locks in scripts
374
375 config BUSYBOX_CONFIG_MAKEDEVS
376 bool "makedevs"
377 default n
378 help
379 'makedevs' is a utility used to create a batch of devices with
380 one command.
381 .
382 There are two choices for command line behaviour, the interface
383 as used by LEAF/Linux Router Project, or a device table file.
384 .
385 'leaf' is traditionally what busybox follows, it allows multiple
386 devices of a particluar type to be created per command.
387 e.g. /dev/hda[0-9]
388 Device properties are passed as command line arguments.
389 .
390 'table' reads device properties from a file or stdin, allowing
391 a batch of unrelated devices to be made with one command.
392 User/group names are allowed as an alternative to uid/gid.
393
394 choice
395 prompt "Choose makedevs behaviour"
396 depends on BUSYBOX_CONFIG_MAKEDEVS
397 default BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
398
399 config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_LEAF
400 bool "leaf"
401
402 config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
403 bool "table"
404
405 endchoice
406
407 config BUSYBOX_CONFIG_MAN
408 bool "man"
409 default n
410 help
411 Format and display manual pages.
412
413 config BUSYBOX_CONFIG_MICROCOM
414 bool "microcom"
415 default n
416 help
417 The poor man's minicom utility for chatting with serial port devices.
418
419 config BUSYBOX_CONFIG_MOUNTPOINT
420 bool "mountpoint"
421 default n
422 help
423 mountpoint checks if the directory is a mountpoint.
424
425 config BUSYBOX_CONFIG_MT
426 bool "mt"
427 default n
428 help
429 mt is used to control tape devices. You can use the mt utility
430 to advance or rewind a tape past a specified number of archive
431 files on the tape.
432
433 config BUSYBOX_CONFIG_RAIDAUTORUN
434 bool "raidautorun"
435 default n
436 help
437 raidautorun tells the kernel md driver to
438 search and start RAID arrays.
439
440 config BUSYBOX_CONFIG_READAHEAD
441 bool "readahead"
442 default n
443 depends on BUSYBOX_CONFIG_LFS
444 help
445 Preload the files listed on the command line into RAM cache so that
446 subsequent reads on these files will not block on disk I/O.
447
448 This applet just calls the readahead(2) system call on each file.
449 It is mainly useful in system startup scripts to preload files
450 or executables before they are used. When used at the right time
451 (in particular when a CPU bound process is running) it can
452 significantly speed up system startup.
453
454 As readahead(2) blocks until each file has been read, it is best to
455 run this applet as a background job.
456
457 config BUSYBOX_CONFIG_RUNLEVEL
458 bool "runlevel"
459 default n
460 help
461 find the current and previous system runlevel.
462
463 This applet uses utmp but does not rely on busybox supporing
464 utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
465
466 config BUSYBOX_CONFIG_RX
467 bool "rx"
468 default n
469 help
470 Receive files using the Xmodem protocol.
471
472 config BUSYBOX_CONFIG_SETSID
473 bool "setsid"
474 default n
475 help
476 setsid runs a program in a new session
477
478 config BUSYBOX_CONFIG_STRINGS
479 bool "strings"
480 default y
481 help
482 strings prints the printable character sequences for each file
483 specified.
484
485 config BUSYBOX_CONFIG_TASKSET
486 bool "taskset"
487 default n
488 help
489 Retrieve or set a processes's CPU affinity.
490 This requires sched_{g,s}etaffinity support in your libc.
491
492 config BUSYBOX_CONFIG_FEATURE_TASKSET_FANCY
493 bool "Fancy output"
494 default n
495 depends on BUSYBOX_CONFIG_TASKSET
496 help
497 Add code for fancy output. This merely silences a compiler-warning
498 and adds about 135 Bytes. May be needed for machines with alot
499 of CPUs.
500
501 config BUSYBOX_CONFIG_TIME
502 bool "time"
503 default y
504 help
505 The time command runs the specified program with the given arguments.
506 When the command finishes, time writes a message to standard output
507 giving timing statistics about this program run.
508
509 config BUSYBOX_CONFIG_TTYSIZE
510 bool "ttysize"
511 default n
512 help
513 A replacement for "stty size". Unlike stty, can report only width,
514 only height, or both, in any order. It also does not complain on
515 error, but returns default 80x24.
516 Usage in shell scripts: width=`ttysize w`.
517
518 config BUSYBOX_CONFIG_WATCHDOG
519 bool "watchdog"
520 default y
521 help
522 The watchdog utility is used with hardware or software watchdog
523 device drivers. It opens the specified watchdog device special file
524 and periodically writes a magic character to the device. If the
525 watchdog applet ever fails to write the magic character within a
526 certain amount of time, the watchdog device assumes the system has
527 hung, and will cause the hardware to reboot.
528
529 endmenu