2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Miscellaneous Utilities"
12 Adjtimex reads and optionally sets adjustment parameters for
13 the Linux clock adjustment algorithm.
19 The bbconfig applet will print the config file with which
26 The beep applets beeps in a given freq/Hz.
28 config FEATURE_BEEP_FREQ
29 int "default frequency"
34 Frequency for default beep.
36 config FEATURE_BEEP_LENGTH_MS
42 Length in ms for default beep.
50 config FEATURE_CHAT_NOFAIL
51 bool "Enable NOFAIL expect strings"
55 When enabled expect strings which are started with a dash trigger
56 no-fail mode. That is when expectation is not met within timeout
57 the script is not terminated but sends next SEND string and waits
58 for next EXPECT string. This allows to compose far more flexible
61 config FEATURE_CHAT_TTY_HIFI
62 bool "Force STDIN to be a TTY"
66 Original chat always treats STDIN as a TTY device and sets for it
67 so-called raw mode. This option turns on such behaviour.
69 config FEATURE_CHAT_IMPLICIT_CR
70 bool "Enable implicit Carriage Return"
74 When enabled make chat to terminate all SEND strings with a "\r"
75 unless "\c" is met anywhere in the string.
77 config FEATURE_CHAT_SWALLOW_OPTS
78 bool "Swallow options"
82 Busybox chat require no options. To make it not fail when used
83 in place of original chat (which has a bunch of options) turn
86 config FEATURE_CHAT_SEND_ESCAPES
87 bool "Support weird SEND escapes"
91 Original chat uses some escape sequences in SEND arguments which
92 are not sent to device but rather performs special actions.
93 E.g. "\K" means to send a break sequence to device.
94 "\d" delays execution for a second, "\p" -- for a 1/100 of second.
95 Before turning this option on think twice: do you really need them?
97 config FEATURE_CHAT_VAR_ABORT_LEN
98 bool "Support variable-length ABORT conditions"
102 Original chat uses fixed 50-bytes length ABORT conditions. Say N here.
104 config FEATURE_CHAT_CLR_ABORT
105 bool "Support revoking of ABORT conditions"
109 Support CLR_ABORT directive.
115 manipulate real-time attributes of a process.
116 This requires sched_{g,s}etparam support in your libc.
122 select FEATURE_SYSLOG
124 Crond is a background daemon that parses individual crontab
125 files and executes commands on behalf of the users in question.
126 This is a port of dcron from slackware. It uses files of the
127 format /var/spool/cron/crontabs/<username> files, for example:
128 $ cat /var/spool/cron/crontabs/root
129 # Run daily cron jobs at 4:40 every day:
130 40 4 * * * /etc/cron/daily > /dev/null 2>&1
132 config FEATURE_CROND_D
133 bool "Support option -d to redirect output to stderr"
137 -d sets loglevel to 0 (most verbose) and directs all output to stderr.
139 config FEATURE_CROND_CALL_SENDMAIL
140 bool "Report command output via email (using sendmail)"
144 Command output will be sent to corresponding user via email.
146 config FEATURE_CROND_DIR
147 string "crond spool directory"
148 default "/var/spool/cron"
149 depends on CROND || CRONTAB
151 Location of crond spool.
158 Crontab manipulates the crontab for a particular user. Only
159 the superuser may specify a different user and/or crontab directory.
160 Note that Busybox binary must be setuid root for this applet to
167 Dc is a reverse-polish desk calculator which supports unlimited
168 precision arithmetic.
170 config FEATURE_DC_LIBM
171 bool "Enable power and exp functions (requires libm)"
175 Enable power and exp functions.
176 NOTE: This will require libm to be present for linking.
179 bool "devfsd (obsolete)"
181 select FEATURE_SYSLOG
183 This is deprecated and should NOT be used anymore.
184 Use linux >= 2.6 (optionally with hotplug) and mdev instead!
185 See docs/mdev.txt for detailed instructions on how to use mdev
188 Provides compatibility with old device names on a devfs systems.
189 You should set it to true if you have devfs enabled.
190 The following keywords in devsfd.conf are supported:
191 "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
192 "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
193 "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
195 But only if they are written UPPERCASE!!!!!!!!
197 config DEVFSD_MODLOAD
198 bool "Adds support for MODLOAD keyword in devsfd.conf"
202 This actually doesn't work with busybox modutils but needs
203 the external modutils.
206 bool "Enables the -fg and -np options"
210 -fg Run the daemon in the foreground.
211 -np Exit after parsing the configuration file.
212 Do not poll for events.
214 config DEVFSD_VERBOSE
215 bool "Increases logging (and size)"
219 Increases logging to stderr or syslog.
222 bool "Use devfs names for all devices (obsolete)"
225 This is obsolete and should NOT be used anymore.
226 Use linux >= 2.6 (optionally with hotplug) and mdev instead!
228 For legacy systems -- if there is no way around devfsd -- this
229 tells busybox to look for names like /dev/loop/0 instead of
230 /dev/loop0. If your /dev directory has normal names instead of
231 devfs names, you don't want this.
237 devmem is a small program that reads and writes from physical
238 memory using /dev/mem.
244 Used to eject cdroms. (defaults to /dev/cdrom)
246 config FEATURE_EJECT_SCSI
251 Add the -s option to eject, this allows to eject SCSI-Devices and
258 Shows splash image and progress bar on framebuffer device.
259 Can be used during boot phase of an embedded device. ~2kb.
261 - use kernel option 'vga=xxx' or otherwise enable fb device.
262 - put somewhere fbsplash.cfg file and an image in .ppm format.
263 - $ setsid fbsplash [params] &
265 -d /dev/fbN: framebuffer device (if not /dev/fb0)
266 -s path_to_image_file (can be "-" for stdin)
267 -i path_to_cfg_file (can be "-" for stdin)
268 -f path_to_fifo (can be "-" for stdin)
269 - if you want to run it only in presence of kernel parameter:
270 grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
272 "NN" (ASCII decimal number) - percentage to show on progress bar
273 "exit" - well you guessed it
279 The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
280 This utility is used to copy images into a MTD device.
286 The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
287 utility locks part or all of the flash device.
293 The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
294 utility unlocks part or all of the flash device.
296 config FLASH_ERASEALL
297 bool "flash_eraseall"
300 The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
301 This utility is used to erase the whole MTD device.
307 Set/set program io scheduling class and priority
308 Requires kernel >= 2.6.13
314 Simple inotify daemon. Reports filesystem changes. Requires
322 'last' displays a list of the last users that logged into the system.
325 prompt "Choose last implementation"
327 default FEATURE_LAST_SMALL
329 config FEATURE_LAST_SMALL
332 This is a small version of last with just the basic set of
335 config FEATURE_LAST_FANCY
338 'last' displays detailed information about the last users that
339 logged into the system (mimics sysvinit last). +900 bytes.
346 'less' is a pager, meaning that it displays text files. It possesses
347 a wide array of features, and is an improvement over 'more'.
349 config FEATURE_LESS_MAXLINES
350 int "Max number of input lines less will try to eat"
354 config FEATURE_LESS_BRACKETS
355 bool "Enable bracket searching"
359 This option adds the capability to search for matching left and right
360 brackets, facilitating programming.
362 config FEATURE_LESS_FLAGS
363 bool "Enable extra flags"
367 The extra flags provided do the following:
369 The -M flag enables a more sophisticated status line.
370 The -m flag enables a simpler status line with a percentage.
372 config FEATURE_LESS_MARKS
377 Marks enable positions in a file to be stored for easy reference.
379 config FEATURE_LESS_REGEXP
380 bool "Enable regular expressions"
384 Enable regular expressions, allowing complex file searches.
386 config FEATURE_LESS_WINCH
387 bool "Enable automatic resizing on window size changes"
391 Makes less track window size changes.
393 config FEATURE_LESS_DASHCMD
394 bool "Enable flag changes ('-' command)"
398 This enables the ability to change command-line flags within
399 less itself ('-' keyboard command).
401 config FEATURE_LESS_LINENUMS
402 bool "Enable dynamic switching of line numbers"
404 depends on FEATURE_LESS_DASHCMD
412 Get/Set hard drive parameters. Primarily intended for ATA
413 drives. Adds about 13k (or around 30k if you enable the
414 FEATURE_HDPARM_GET_IDENTITY option)....
416 config FEATURE_HDPARM_GET_IDENTITY
417 bool "Support obtaining detailed information directly from drives"
421 Enables the -I and -i options to obtain detailed information
422 directly from drives about their capabilities and supported ATA
423 feature set. If no device name is specified, hdparm will read
424 identify data from stdin. Enabling this option will add about 16k...
426 config FEATURE_HDPARM_HDIO_SCAN_HWIF
427 bool "Register an IDE interface (DANGEROUS)"
431 Enables the 'hdparm -R' option to register an IDE interface.
432 This is dangerous stuff, so you should probably say N.
434 config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
435 bool "Un-register an IDE interface (DANGEROUS)"
439 Enables the 'hdparm -U' option to un-register an IDE interface.
440 This is dangerous stuff, so you should probably say N.
442 config FEATURE_HDPARM_HDIO_DRIVE_RESET
443 bool "Perform device reset (DANGEROUS)"
447 Enables the 'hdparm -w' option to perform a device reset.
448 This is dangerous stuff, so you should probably say N.
450 config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
451 bool "Tristate device for hotswap (DANGEROUS)"
455 Enables the 'hdparm -x' option to tristate device for hotswap,
456 and the '-b' option to get/set bus state. This is dangerous
457 stuff, so you should probably say N.
459 config FEATURE_HDPARM_HDIO_GETSET_DMA
460 bool "Get/set using_dma flag"
464 Enables the 'hdparm -d' option to get/set using_dma flag.
470 'makedevs' is a utility used to create a batch of devices with
473 There are two choices for command line behaviour, the interface
474 as used by LEAF/Linux Router Project, or a device table file.
476 'leaf' is traditionally what busybox follows, it allows multiple
477 devices of a particluar type to be created per command.
479 Device properties are passed as command line arguments.
481 'table' reads device properties from a file or stdin, allowing
482 a batch of unrelated devices to be made with one command.
483 User/group names are allowed as an alternative to uid/gid.
486 prompt "Choose makedevs behaviour"
488 default FEATURE_MAKEDEVS_TABLE
490 config FEATURE_MAKEDEVS_LEAF
493 config FEATURE_MAKEDEVS_TABLE
502 Format and display manual pages.
508 The poor man's minicom utility for chatting with serial port devices.
514 mountpoint checks if the directory is a mountpoint.
520 mt is used to control tape devices. You can use the mt utility
521 to advance or rewind a tape past a specified number of archive
528 raidautorun tells the kernel md driver to
529 search and start RAID arrays.
536 Preload the files listed on the command line into RAM cache so that
537 subsequent reads on these files will not block on disk I/O.
539 This applet just calls the readahead(2) system call on each file.
540 It is mainly useful in system startup scripts to preload files
541 or executables before they are used. When used at the right time
542 (in particular when a CPU bound process is running) it can
543 significantly speed up system startup.
545 As readahead(2) blocks until each file has been read, it is best to
546 run this applet as a background job.
552 find the current and previous system runlevel.
554 This applet uses utmp but does not rely on busybox supporing
555 utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
561 Receive files using the Xmodem protocol.
567 setsid runs a program in a new session
573 strings prints the printable character sequences for each file
580 Retrieve or set a processes's CPU affinity.
581 This requires sched_{g,s}etaffinity support in your libc.
583 config FEATURE_TASKSET_FANCY
588 Add code for fancy output. This merely silences a compiler-warning
589 and adds about 135 Bytes. May be needed for machines with alot
596 The time command runs the specified program with the given arguments.
597 When the command finishes, time writes a message to standard output
598 giving timing statistics about this program run.
604 Runs a program and watches it. If it does not terminate in
605 specified number of seconds, it is sent a signal.
611 A replacement for "stty size". Unlike stty, can report only width,
612 only height, or both, in any order. It also does not complain on
613 error, but returns default 80x24.
614 Usage in shell scripts: width=`ttysize w`.
620 Prints a CD-ROM volume name.
626 Write a message to all users that are logged in.
632 The watchdog utility is used with hardware or software watchdog
633 device drivers. It opens the specified watchdog device special file
634 and periodically writes a magic character to the device. If the
635 watchdog applet ever fails to write the magic character within a
636 certain amount of time, the watchdog device assumes the system has
637 hung, and will cause the hardware to reboot.