blob: 01d1fa0a5ad5e6d0c6540fb78874cc5912d05bf7 [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Miscellaneous Utilities"
7
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config ADJTIMEX
Eric Andersenc9f20d92002-12-05 08:41:41 +00009 bool "adjtimex"
10 default n
11 help
Eric Andersene5642112003-07-14 19:37:08 +000012 Adjtimex reads and optionally sets adjustment parameters for
13 the Linux clock adjustment algorithm.
Eric Andersenc9f20d92002-12-05 08:41:41 +000014
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000015config BBCONFIG
Mike Frysinger9ed10942005-09-18 04:43:32 +000016 bool "bbconfig"
17 default n
18 help
19 The bbconfig applet will print the config file with which
20 busybox was built.
21
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000022config CROND
Eric Andersenc9f20d92002-12-05 08:41:41 +000023 bool "crond"
24 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000025 select FEATURE_SUID
26 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +000027 help
Eric Andersene5642112003-07-14 19:37:08 +000028 Crond is a background daemon that parses individual crontab
29 files and executes commands on behalf of the users in question.
Eric Andersen98e4eab2004-07-20 08:07:10 +000030 This is a port of dcron from slackware. It uses files of the
31 format /var/spool/cron/crontabs/<username> files, for example:
32 $ cat /var/spool/cron/crontabs/root
33 # Run daily cron jobs at 4:40 every day:
34 40 4 * * * /etc/cron/daily > /dev/null 2>&1
Eric Andersen13879102004-08-26 23:13:00 +000035 Note that Busybox binary must be setuid root for this applet to
36 work properly.
Eric Andersenc9f20d92002-12-05 08:41:41 +000037
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000038config DEBUG_CROND_OPTION
Bernhard Reutner-Fischeref216292006-05-20 14:14:05 +000039 bool "Support debug option -d"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000040 depends on CROND
Bernhard Reutner-Fischeref216292006-05-20 14:14:05 +000041 default n
42 help
43 Support option -d to enter debug mode.
44
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000045config FEATURE_CROND_CALL_SENDMAIL
Rob Landley2ec922e2006-04-13 23:22:16 +000046 bool "Using /usr/sbin/sendmail?"
Eric Andersen35e643b2003-07-28 07:40:39 +000047 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000048 depends on CROND
Eric Andersen35e643b2003-07-28 07:40:39 +000049 help
Eric Andersen88c916b2003-10-22 09:58:56 +000050 Support calling /usr/sbin/sendmail for send cmd outputs.
Eric Andersen35e643b2003-07-28 07:40:39 +000051
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000052config CRONTAB
Eric Andersenc9f20d92002-12-05 08:41:41 +000053 bool "crontab"
54 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000055 select FEATURE_SUID
Eric Andersenc9f20d92002-12-05 08:41:41 +000056 help
Eric Andersene5642112003-07-14 19:37:08 +000057 Crontab manipulates the crontab for a particular user. Only
58 the superuser may specify a different user and/or crontab directory.
Eric Andersenc9f20d92002-12-05 08:41:41 +000059
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000060config DC
Eric Andersenc9f20d92002-12-05 08:41:41 +000061 bool "dc"
62 default n
63 help
Eric Andersene5642112003-07-14 19:37:08 +000064 Dc is a reverse-polish desk calculator which supports unlimited
65 precision arithmetic.
Eric Andersenc9f20d92002-12-05 08:41:41 +000066
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000067config DEVFSD
Rob Landley4c5ad2f2006-06-07 20:11:53 +000068 bool "devfsd (obsolete)"
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000069 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000070 select FEATURE_SYSLOG
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000071 help
Rob Landley1f9145c2006-07-12 21:31:16 +000072 This is deprecated, and will be removed at the end of 2008.
Rob Landley4c5ad2f2006-06-07 20:11:53 +000073
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000074 Provides compatibility with old device names on a devfs systems.
75 You should set it to true if you have devfs enabled.
Eric Andersenf18bd892003-12-19 11:07:59 +000076 The following keywords in devsfd.conf are supported:
77 "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
78 "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
79 "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
80
81 But only if they are written UPPERCASE!!!!!!!!
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000082
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000083config DEVFSD_MODLOAD
Eric Andersenf18bd892003-12-19 11:07:59 +000084 bool "Adds support for MODLOAD keyword in devsfd.conf"
Glenn L McGrath3860b2e2003-11-30 23:46:06 +000085 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000086 depends on DEVFSD
Glenn L McGrath3860b2e2003-11-30 23:46:06 +000087 help
Rob Landley4c5ad2f2006-06-07 20:11:53 +000088 This actually doesn't work with busybox modutils but needs
89 the external modutils.
Glenn L McGrath3860b2e2003-11-30 23:46:06 +000090
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000091config DEVFSD_FG_NP
Eric Andersenf18bd892003-12-19 11:07:59 +000092 bool "Enables the -fg and -np options"
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000093 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000094 depends on DEVFSD
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000095 help
Eric Andersenf18bd892003-12-19 11:07:59 +000096 -fg Run the daemon in the foreground.
97 -np Exit after parsing the configuration file. Do not poll for events.
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000098
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000099config DEVFSD_VERBOSE
Eric Andersenf18bd892003-12-19 11:07:59 +0000100 bool "Increases logging (and size)"
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000101 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000102 depends on DEVFSD
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000103 help
Eric Andersenf18bd892003-12-19 11:07:59 +0000104 Increases logging to stderr or syslog.
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000105
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000106config FEATURE_DEVFS
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000107 bool " Use devfs names for all devices (obsolete)"
108 default n
109 help
Rob Landley1f9145c2006-07-12 21:31:16 +0000110 This is obsolete and will be going away at the end of 2008..
111
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000112 This tells busybox to look for names like /dev/loop/0 instead of
113 /dev/loop0. If your /dev directory has normal names instead of
114 devfs names, you don't want this.
115
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000116config EJECT
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000117 bool "eject"
118 default n
119 help
120 Used to eject cdroms. (defaults to /dev/cdrom)
121
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000122config LAST
Eric Andersen2e9c2572003-08-08 22:26:06 +0000123 bool "last"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000124 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000125 select FEATURE_WTMP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000126 help
Eric Andersen2e9c2572003-08-08 22:26:06 +0000127 'last' displays a list of the last users that logged into the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000128
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000129config LESS
Rob Landley9200e792005-09-15 19:26:59 +0000130 bool "less"
131 default n
132 help
133 'less' is a pager, meaning that it displays text files. It possesses
134 a wide array of features, and is an improvement over 'more'.
135
Denis Vlasenko9a7cef92006-12-20 02:46:48 +0000136config FEATURE_LESS_MAXLINES
137 int "Max number of input lines less will try to eat"
138 default 9999999
139 depends on LESS
140
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000141config FEATURE_LESS_BRACKETS
Rob Landley2ec922e2006-04-13 23:22:16 +0000142 bool "Enable bracket searching"
Rob Landley9200e792005-09-15 19:26:59 +0000143 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000144 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000145 help
146 This option adds the capability to search for matching left and right
147 brackets, facilitating programming.
148
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000149config FEATURE_LESS_FLAGS
Rob Landley2ec922e2006-04-13 23:22:16 +0000150 bool "Enable extra flags"
Rob Landley9200e792005-09-15 19:26:59 +0000151 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000152 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000153 help
154 The extra flags provided do the following:
155
156 The -M flag enables a more sophisticated status line.
157 The -m flag enables a simpler status line with a percentage.
158
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000159config FEATURE_LESS_FLAGCS
Rob Landley2ec922e2006-04-13 23:22:16 +0000160 bool "Enable flag changes"
Rob Landley9200e792005-09-15 19:26:59 +0000161 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000162 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000163 help
164 This enables the ability to change command-line flags within
165 less itself.
166
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000167config FEATURE_LESS_MARKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000168 bool "Enable marks"
Rob Landley9200e792005-09-15 19:26:59 +0000169 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000170 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000171 help
172 Marks enable positions in a file to be stored for easy reference.
173
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000174config FEATURE_LESS_REGEXP
Rob Landley2ec922e2006-04-13 23:22:16 +0000175 bool "Enable regular expressions"
Rob Landley9200e792005-09-15 19:26:59 +0000176 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000177 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000178 help
179 Enable regular expressions, allowing complex file searches.
180
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000181config HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000182 bool "hdparm"
183 default n
184 help
185 Get/Set hard drive parameters. Primarily intended for ATA
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000186 drives. Adds about 13k (or around 30k if you enable the
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000187 FEATURE_HDPARM_GET_IDENTITY option)....
Eric Andersen3443bd72003-07-22 07:30:36 +0000188
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000189config FEATURE_HDPARM_GET_IDENTITY
Rob Landley2ec922e2006-04-13 23:22:16 +0000190 bool "Support obtaining detailed information directly from drives"
Eric Andersen3443bd72003-07-22 07:30:36 +0000191 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000192 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000193 help
Rob Landley06208412006-05-31 22:52:57 +0000194 Enables the -I and -i options to obtain detailed information
Eric Andersen3443bd72003-07-22 07:30:36 +0000195 directly from drives about their capabilities and supported ATA
Rob Landley06208412006-05-31 22:52:57 +0000196 feature set. If no device name is specified, hdparm will read
197 identify data from stdin. Enabling this option will add about 16k...
Eric Andersen3443bd72003-07-22 07:30:36 +0000198
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000199config FEATURE_HDPARM_HDIO_SCAN_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000200 bool "Register an IDE interface (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000201 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000202 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000203 help
204 Enables the 'hdparm -R' option to register an IDE interface.
205 This is dangerous stuff, so you should probably say N.
206
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000207config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000208 bool "Un-register an IDE interface (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000209 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000210 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000211 help
212 Enables the 'hdparm -U' option to un-register an IDE interface.
213 This is dangerous stuff, so you should probably say N.
214
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000215config FEATURE_HDPARM_HDIO_DRIVE_RESET
Rob Landley2ec922e2006-04-13 23:22:16 +0000216 bool "perform device reset (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000217 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000218 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000219 help
220 Enables the 'hdparm -w' option to perform a device reset.
221 This is dangerous stuff, so you should probably say N.
222
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000223config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000224 bool "tristate device for hotswap (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000225 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000226 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000227 help
228 Enables the 'hdparm -x' option to tristate device for hotswap,
229 and the '-b' option to get/set bus state. This is dangerous
230 stuff, so you should probably say N.
231
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000232config FEATURE_HDPARM_HDIO_GETSET_DMA
Rob Landley2ec922e2006-04-13 23:22:16 +0000233 bool "get/set using_dma flag (DANGEROUS)"
Eric Andersen0a57a792003-08-06 08:57:35 +0000234 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000235 depends on HDPARM
Eric Andersen0a57a792003-08-06 08:57:35 +0000236 help
237 Enables the 'hdparm -d' option to get/set using_dma flag.
238 This is dangerous stuff, so you should probably say N.
239
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000240config MAKEDEVS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000241 bool "makedevs"
242 default n
243 help
Eric Andersen3d925622005-06-09 10:16:02 +0000244 'makedevs' is a utility used to create a batch of devices with
245 one command.
246 .
247 There are two choices for command line behaviour, the interface
248 as used by LEAF/Linux Router Project, or a device table file.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000249 .
Eric Andersen3d925622005-06-09 10:16:02 +0000250 'leaf' is traditionally what busybox follows, it allows multiple
251 devices of a particluar type to be created per command.
252 e.g. /dev/hda[0-9]
253 Device properties are passed as command line arguments.
254 .
255 'table' reads device properties from a file or stdin, allowing
Bernhard Reutner-Fischer771b1862006-03-24 14:30:05 +0000256 a batch of unrelated devices to be made with one command.
Eric Andersen3d925622005-06-09 10:16:02 +0000257 User/group names are allowed as an alternative to uid/gid.
258
259choice
260 prompt "Choose makedevs behaviour"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000261 depends MAKEDEVS
262 default FEATURE_MAKEDEVS_TABLE
Eric Andersen3d925622005-06-09 10:16:02 +0000263
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000264config FEATURE_MAKEDEVS_LEAF
Eric Andersen3d925622005-06-09 10:16:02 +0000265 bool "leaf"
266
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000267config FEATURE_MAKEDEVS_TABLE
Eric Andersen3d925622005-06-09 10:16:02 +0000268 bool "table"
269
270endchoice
Eric Andersenc9f20d92002-12-05 08:41:41 +0000271
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000272config MOUNTPOINT
Rob Landleyd00b3a52005-08-20 05:07:08 +0000273 bool "mountpoint"
274 default n
275 help
276 mountpoint checks if the directory is a mountpoint.
277
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000278config MT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000279 bool "mt"
280 default n
281 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000282 mt is used to control tape devices. You can use the mt utility
Eric Andersene5642112003-07-14 19:37:08 +0000283 to advance or rewind a tape past a specified number of archive
284 files on the tape.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000285
Denis Vlasenko1db39b22006-10-11 20:59:02 +0000286config NMETER
287 bool "nmeter"
288 default n
289 help
290 nmeter prints various system parameters continuously.
291
Denis Vlasenkoc108ed52006-10-20 19:39:48 +0000292config RAIDAUTORUN
293 bool "raidautorun"
294 default n
295 help
296 raidautorun tells the kernel md driver to
297 search and start RAID arrays.
298
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000299config READAHEAD
Rob Landley0e4690d2006-08-20 22:12:18 +0000300 bool "readahead"
301 default n
302 help
303 Preload the files listed on the command line into RAM cache so that
304 subsequent reads on these files will not block on disk I/O.
305
306 This applet just calls the readahead(2) system call on each file.
307 It is mainly useful in system startup scripts to preload files
308 or executables before they are used. When used at the right time
309 (in particular when a CPU boundprocess is running) it can
310 significantly speed up system startup.
311
312 As readahead(2) blocks until each file has been read, it is best to
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000313 run this applet as a background job.
Rob Landley0e4690d2006-08-20 22:12:18 +0000314
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000315config RUNLEVEL
Bernhard Reutner-Fischer62d7acc2005-10-28 20:37:03 +0000316 bool "runlevel"
317 default n
318 help
319 find the current and previous system runlevel.
320
321 This applet uses utmp but does not rely on busybox supporing
322 utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
323
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000324config RX
Glenn L McGrath8f3bc4c2003-12-20 07:30:35 +0000325 bool "rx"
326 default n
327 help
328 Receive files using the Xmodem protocol.
329
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000330config STRINGS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000331 bool "strings"
332 default n
333 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000334 strings prints the printable character sequences for each file
Eric Andersene5642112003-07-14 19:37:08 +0000335 specified.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000336
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000337config SETSID
Paul Fox42403642005-08-01 22:52:09 +0000338 bool "setsid"
339 default n
340 help
341 setsid runs a program in a new session
342
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000343config TASKSET
Bernhard Reutner-Fischer16d3e4e2006-06-07 15:44:59 +0000344 bool "taskset"
345 default n
346 help
Mike Frysinger259472e2006-07-03 05:22:36 +0000347 Retrieve or set a processes's CPU affinity.
Bernhard Reutner-Fischer32eddff2006-11-22 16:39:48 +0000348 This requires sched_{g,s}etaffinity support in your libc.
349
350config FEATURE_TASKSET_FANCY
351 bool "fancy output"
352 default y
353 depends on TASKSET
354 help
355 Add code for fancy output. This merely silences a compiler-warning
356 and adds about 135 Bytes. May be needed for machines with alot
357 of CPUs.
Rob Landley12d94192006-06-30 22:20:43 +0000358
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000359config TIME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000360 bool "time"
361 default n
362 help
Eric Andersene5642112003-07-14 19:37:08 +0000363 The time command runs the specified program with the given arguments.
364 When the command finishes, time writes a message to standard output
365 giving timing statistics about this program run.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000366
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000367config WATCHDOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000368 bool "watchdog"
369 default n
370 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000371 The watchdog utility is used with hardware or software watchdog
Eric Andersen795c4ba2003-07-22 10:11:48 +0000372 device drivers. It opens the specified watchdog device special file
373 and periodically writes a magic character to the device. If the
374 watchdog applet ever fails to write the magic character within a
Eric Andersenac00aa72003-07-26 08:07:56 +0000375 certain amount of time, the watchdog device assumes the system has
376 hung, and will cause the hardware to reboot.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000377
378endmenu
379