blob: 9ad3421511a369bbd1d1aa188044421cea717def [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
8config CONFIG_ADJTIMEX
9 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
Mike Frysinger9ed10942005-09-18 04:43:32 +000015config 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
Eric Andersenc9f20d92002-12-05 08:41:41 +000022config CONFIG_CROND
23 bool "crond"
24 default n
Eric Andersen13879102004-08-26 23:13:00 +000025 select CONFIG_FEATURE_SUID
Eric Andersenc9f20d92002-12-05 08:41:41 +000026 help
Eric Andersene5642112003-07-14 19:37:08 +000027 Crond is a background daemon that parses individual crontab
28 files and executes commands on behalf of the users in question.
Eric Andersen98e4eab2004-07-20 08:07:10 +000029 This is a port of dcron from slackware. It uses files of the
30 format /var/spool/cron/crontabs/<username> files, for example:
31 $ cat /var/spool/cron/crontabs/root
32 # Run daily cron jobs at 4:40 every day:
33 40 4 * * * /etc/cron/daily > /dev/null 2>&1
Eric Andersen13879102004-08-26 23:13:00 +000034 Note that Busybox binary must be setuid root for this applet to
35 work properly.
Eric Andersenc9f20d92002-12-05 08:41:41 +000036
Bernhard Reutner-Fischeref216292006-05-20 14:14:05 +000037config CONFIG_DEBUG_CROND_OPTION
38 bool "Support debug option -d"
39 depends on CONFIG_CROND
40 default n
41 help
42 Support option -d to enter debug mode.
43
Eric Andersen35e643b2003-07-28 07:40:39 +000044config CONFIG_FEATURE_CROND_CALL_SENDMAIL
Rob Landley2ec922e2006-04-13 23:22:16 +000045 bool "Using /usr/sbin/sendmail?"
Eric Andersen35e643b2003-07-28 07:40:39 +000046 default n
47 depends on CONFIG_CROND
48 help
Eric Andersen88c916b2003-10-22 09:58:56 +000049 Support calling /usr/sbin/sendmail for send cmd outputs.
Eric Andersen35e643b2003-07-28 07:40:39 +000050
Eric Andersenc9f20d92002-12-05 08:41:41 +000051config CONFIG_CRONTAB
52 bool "crontab"
53 default n
Eric Andersen576db482005-06-23 18:58:57 +000054 select CONFIG_FEATURE_SUID
Eric Andersenc9f20d92002-12-05 08:41:41 +000055 help
Eric Andersene5642112003-07-14 19:37:08 +000056 Crontab manipulates the crontab for a particular user. Only
57 the superuser may specify a different user and/or crontab directory.
Eric Andersenc9f20d92002-12-05 08:41:41 +000058
59config CONFIG_DC
60 bool "dc"
61 default n
62 help
Eric Andersene5642112003-07-14 19:37:08 +000063 Dc is a reverse-polish desk calculator which supports unlimited
64 precision arithmetic.
Eric Andersenc9f20d92002-12-05 08:41:41 +000065
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000066config CONFIG_DEVFSD
Rob Landley4c5ad2f2006-06-07 20:11:53 +000067 bool "devfsd (obsolete)"
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000068 default n
69 help
Rob Landley1f9145c2006-07-12 21:31:16 +000070 This is deprecated, and will be removed at the end of 2008.
Rob Landley4c5ad2f2006-06-07 20:11:53 +000071
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000072 Provides compatibility with old device names on a devfs systems.
73 You should set it to true if you have devfs enabled.
Eric Andersenf18bd892003-12-19 11:07:59 +000074 The following keywords in devsfd.conf are supported:
75 "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
76 "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
77 "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
78
79 But only if they are written UPPERCASE!!!!!!!!
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000080
Glenn L McGrath3860b2e2003-11-30 23:46:06 +000081config CONFIG_DEVFSD_MODLOAD
Eric Andersenf18bd892003-12-19 11:07:59 +000082 bool "Adds support for MODLOAD keyword in devsfd.conf"
Glenn L McGrath3860b2e2003-11-30 23:46:06 +000083 default n
84 depends on CONFIG_DEVFSD
85 help
Rob Landley4c5ad2f2006-06-07 20:11:53 +000086 This actually doesn't work with busybox modutils but needs
87 the external modutils.
Glenn L McGrath3860b2e2003-11-30 23:46:06 +000088
Eric Andersenf18bd892003-12-19 11:07:59 +000089config CONFIG_DEVFSD_FG_NP
90 bool "Enables the -fg and -np options"
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000091 default n
92 depends on CONFIG_DEVFSD
93 help
Eric Andersenf18bd892003-12-19 11:07:59 +000094 -fg Run the daemon in the foreground.
95 -np Exit after parsing the configuration file. Do not poll for events.
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000096
Eric Andersenf18bd892003-12-19 11:07:59 +000097config CONFIG_DEVFSD_VERBOSE
98 bool "Increases logging (and size)"
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000099 default n
100 depends on CONFIG_DEVFSD
101 help
Eric Andersenf18bd892003-12-19 11:07:59 +0000102 Increases logging to stderr or syslog.
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000103
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000104config CONFIG_FEATURE_DEVFS
105 bool " Use devfs names for all devices (obsolete)"
106 default n
107 help
Rob Landley1f9145c2006-07-12 21:31:16 +0000108 This is obsolete and will be going away at the end of 2008..
109
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000110 This tells busybox to look for names like /dev/loop/0 instead of
111 /dev/loop0. If your /dev directory has normal names instead of
112 devfs names, you don't want this.
113
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000114config CONFIG_EJECT
115 bool "eject"
116 default n
117 help
118 Used to eject cdroms. (defaults to /dev/cdrom)
119
Eric Andersen2e9c2572003-08-08 22:26:06 +0000120config CONFIG_LAST
121 bool "last"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000122 default n
Mike Frysinger8deb6862005-07-01 01:04:32 +0000123 select CONFIG_FEATURE_WTMP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000124 help
Eric Andersen2e9c2572003-08-08 22:26:06 +0000125 'last' displays a list of the last users that logged into the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000126
Rob Landley9200e792005-09-15 19:26:59 +0000127config CONFIG_LESS
128 bool "less"
129 default n
130 help
131 'less' is a pager, meaning that it displays text files. It possesses
132 a wide array of features, and is an improvement over 'more'.
133
134config CONFIG_FEATURE_LESS_BRACKETS
Rob Landley2ec922e2006-04-13 23:22:16 +0000135 bool "Enable bracket searching"
Rob Landley9200e792005-09-15 19:26:59 +0000136 default y
137 depends on CONFIG_LESS
138 help
139 This option adds the capability to search for matching left and right
140 brackets, facilitating programming.
141
142config CONFIG_FEATURE_LESS_FLAGS
Rob Landley2ec922e2006-04-13 23:22:16 +0000143 bool "Enable extra flags"
Rob Landley9200e792005-09-15 19:26:59 +0000144 default y
145 depends on CONFIG_LESS
146 help
147 The extra flags provided do the following:
148
149 The -M flag enables a more sophisticated status line.
150 The -m flag enables a simpler status line with a percentage.
151
152config CONFIG_FEATURE_LESS_FLAGCS
Rob Landley2ec922e2006-04-13 23:22:16 +0000153 bool "Enable flag changes"
Rob Landley9200e792005-09-15 19:26:59 +0000154 default n
155 depends on CONFIG_LESS
156 help
157 This enables the ability to change command-line flags within
158 less itself.
159
160config CONFIG_FEATURE_LESS_MARKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000161 bool "Enable marks"
Rob Landley9200e792005-09-15 19:26:59 +0000162 default n
163 depends on CONFIG_LESS
164 help
165 Marks enable positions in a file to be stored for easy reference.
166
167config CONFIG_FEATURE_LESS_REGEXP
Rob Landley2ec922e2006-04-13 23:22:16 +0000168 bool "Enable regular expressions"
Rob Landley9200e792005-09-15 19:26:59 +0000169 default n
170 depends on CONFIG_LESS
171 help
172 Enable regular expressions, allowing complex file searches.
173
Eric Andersen3443bd72003-07-22 07:30:36 +0000174config CONFIG_HDPARM
175 bool "hdparm"
176 default n
177 help
178 Get/Set hard drive parameters. Primarily intended for ATA
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000179 drives. Adds about 13k (or around 30k if you enable the
Eric Andersen3443bd72003-07-22 07:30:36 +0000180 CONFIG_FEATURE_HDPARM_GET_IDENTITY option)....
181
182config CONFIG_FEATURE_HDPARM_GET_IDENTITY
Rob Landley2ec922e2006-04-13 23:22:16 +0000183 bool "Support obtaining detailed information directly from drives"
Eric Andersen3443bd72003-07-22 07:30:36 +0000184 default y
Rob Landley06208412006-05-31 22:52:57 +0000185 depends on CONFIG_HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000186 help
Rob Landley06208412006-05-31 22:52:57 +0000187 Enables the -I and -i options to obtain detailed information
Eric Andersen3443bd72003-07-22 07:30:36 +0000188 directly from drives about their capabilities and supported ATA
Rob Landley06208412006-05-31 22:52:57 +0000189 feature set. If no device name is specified, hdparm will read
190 identify data from stdin. Enabling this option will add about 16k...
Eric Andersen3443bd72003-07-22 07:30:36 +0000191
192config CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000193 bool "Register an IDE interface (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000194 default n
195 depends on CONFIG_HDPARM
196 help
197 Enables the 'hdparm -R' option to register an IDE interface.
198 This is dangerous stuff, so you should probably say N.
199
200config CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000201 bool "Un-register an IDE interface (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000202 default n
203 depends on CONFIG_HDPARM
204 help
205 Enables the 'hdparm -U' option to un-register an IDE interface.
206 This is dangerous stuff, so you should probably say N.
207
208config CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
Rob Landley2ec922e2006-04-13 23:22:16 +0000209 bool "perform device reset (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000210 default n
211 depends on CONFIG_HDPARM
212 help
213 Enables the 'hdparm -w' option to perform a device reset.
214 This is dangerous stuff, so you should probably say N.
215
216config CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000217 bool "tristate device for hotswap (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000218 default n
219 depends on CONFIG_HDPARM
220 help
221 Enables the 'hdparm -x' option to tristate device for hotswap,
222 and the '-b' option to get/set bus state. This is dangerous
223 stuff, so you should probably say N.
224
Eric Andersen0a57a792003-08-06 08:57:35 +0000225config CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
Rob Landley2ec922e2006-04-13 23:22:16 +0000226 bool "get/set using_dma flag (DANGEROUS)"
Eric Andersen0a57a792003-08-06 08:57:35 +0000227 default n
228 depends on CONFIG_HDPARM
229 help
230 Enables the 'hdparm -d' option to get/set using_dma flag.
231 This is dangerous stuff, so you should probably say N.
232
Eric Andersenc9f20d92002-12-05 08:41:41 +0000233config CONFIG_MAKEDEVS
234 bool "makedevs"
235 default n
236 help
Eric Andersen3d925622005-06-09 10:16:02 +0000237 'makedevs' is a utility used to create a batch of devices with
238 one command.
239 .
240 There are two choices for command line behaviour, the interface
241 as used by LEAF/Linux Router Project, or a device table file.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000242 .
Eric Andersen3d925622005-06-09 10:16:02 +0000243 'leaf' is traditionally what busybox follows, it allows multiple
244 devices of a particluar type to be created per command.
245 e.g. /dev/hda[0-9]
246 Device properties are passed as command line arguments.
247 .
248 'table' reads device properties from a file or stdin, allowing
Bernhard Reutner-Fischer771b1862006-03-24 14:30:05 +0000249 a batch of unrelated devices to be made with one command.
Eric Andersen3d925622005-06-09 10:16:02 +0000250 User/group names are allowed as an alternative to uid/gid.
251
252choice
253 prompt "Choose makedevs behaviour"
Eric Andersen1b7058c2005-07-18 09:36:49 +0000254 depends CONFIG_MAKEDEVS
255 default CONFIG_FEATURE_MAKEDEVS_TABLE
Eric Andersen3d925622005-06-09 10:16:02 +0000256
257config CONFIG_FEATURE_MAKEDEVS_LEAF
258 bool "leaf"
259
260config CONFIG_FEATURE_MAKEDEVS_TABLE
261 bool "table"
262
263endchoice
Eric Andersenc9f20d92002-12-05 08:41:41 +0000264
Rob Landleyd00b3a52005-08-20 05:07:08 +0000265config CONFIG_MOUNTPOINT
266 bool "mountpoint"
267 default n
268 help
269 mountpoint checks if the directory is a mountpoint.
270
Eric Andersenc9f20d92002-12-05 08:41:41 +0000271config CONFIG_MT
272 bool "mt"
273 default n
274 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000275 mt is used to control tape devices. You can use the mt utility
Eric Andersene5642112003-07-14 19:37:08 +0000276 to advance or rewind a tape past a specified number of archive
277 files on the tape.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000278
Rob Landley0e4690d2006-08-20 22:12:18 +0000279config CONFIG_READAHEAD
280 bool "readahead"
281 default n
282 help
283 Preload the files listed on the command line into RAM cache so that
284 subsequent reads on these files will not block on disk I/O.
285
286 This applet just calls the readahead(2) system call on each file.
287 It is mainly useful in system startup scripts to preload files
288 or executables before they are used. When used at the right time
289 (in particular when a CPU boundprocess is running) it can
290 significantly speed up system startup.
291
292 As readahead(2) blocks until each file has been read, it is best to
293 run this applet as a background job.
294
Rob Landley51be57e2006-02-23 00:42:25 +0000295config CONFIG_RUNLEVEL
Bernhard Reutner-Fischer62d7acc2005-10-28 20:37:03 +0000296 bool "runlevel"
297 default n
298 help
299 find the current and previous system runlevel.
300
301 This applet uses utmp but does not rely on busybox supporing
302 utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
303
Glenn L McGrath8f3bc4c2003-12-20 07:30:35 +0000304config CONFIG_RX
305 bool "rx"
306 default n
307 help
308 Receive files using the Xmodem protocol.
309
Eric Andersenc9f20d92002-12-05 08:41:41 +0000310config CONFIG_STRINGS
311 bool "strings"
312 default n
313 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000314 strings prints the printable character sequences for each file
Eric Andersene5642112003-07-14 19:37:08 +0000315 specified.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000316
Paul Fox42403642005-08-01 22:52:09 +0000317config CONFIG_SETSID
318 bool "setsid"
319 default n
320 help
321 setsid runs a program in a new session
322
Bernhard Reutner-Fischer16d3e4e2006-06-07 15:44:59 +0000323config CONFIG_TASKSET
324 bool "taskset"
325 default n
326 help
Mike Frysinger259472e2006-07-03 05:22:36 +0000327 Retrieve or set a processes's CPU affinity.
Rob Landley12d94192006-06-30 22:20:43 +0000328
Eric Andersenc9f20d92002-12-05 08:41:41 +0000329config CONFIG_TIME
330 bool "time"
331 default n
332 help
Eric Andersene5642112003-07-14 19:37:08 +0000333 The time command runs the specified program with the given arguments.
334 When the command finishes, time writes a message to standard output
335 giving timing statistics about this program run.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000336
Eric Andersenc9f20d92002-12-05 08:41:41 +0000337config CONFIG_WATCHDOG
338 bool "watchdog"
339 default n
340 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000341 The watchdog utility is used with hardware or software watchdog
Eric Andersen795c4ba2003-07-22 10:11:48 +0000342 device drivers. It opens the specified watchdog device special file
343 and periodically writes a magic character to the device. If the
344 watchdog applet ever fails to write the magic character within a
Eric Andersenac00aa72003-07-26 08:07:56 +0000345 certain amount of time, the watchdog device assumes the system has
346 hung, and will cause the hardware to reboot.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000347
348endmenu
349