blob: 50ed4df996988b61ee63c4fcb0fd9bf8e663d9f8 [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
Denis Vlasenko049d6b82006-09-07 06:02:39 +000026 select CONFIG_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
Bernhard Reutner-Fischeref216292006-05-20 14:14:05 +000038config CONFIG_DEBUG_CROND_OPTION
39 bool "Support debug option -d"
40 depends on CONFIG_CROND
41 default n
42 help
43 Support option -d to enter debug mode.
44
Eric Andersen35e643b2003-07-28 07:40:39 +000045config CONFIG_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
48 depends on CONFIG_CROND
49 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
Eric Andersenc9f20d92002-12-05 08:41:41 +000052config CONFIG_CRONTAB
53 bool "crontab"
54 default n
Eric Andersen576db482005-06-23 18:58:57 +000055 select CONFIG_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
60config CONFIG_DC
61 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
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000067config CONFIG_DEVFSD
Rob Landley4c5ad2f2006-06-07 20:11:53 +000068 bool "devfsd (obsolete)"
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000069 default n
Denis Vlasenko049d6b82006-09-07 06:02:39 +000070 select CONFIG_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
Glenn L McGrath3860b2e2003-11-30 23:46:06 +000083config CONFIG_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
86 depends on CONFIG_DEVFSD
87 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
Eric Andersenf18bd892003-12-19 11:07:59 +000091config CONFIG_DEVFSD_FG_NP
92 bool "Enables the -fg and -np options"
Glenn L McGrath17d21fa2003-10-09 11:46:23 +000093 default n
94 depends on CONFIG_DEVFSD
95 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
Eric Andersenf18bd892003-12-19 11:07:59 +000099config CONFIG_DEVFSD_VERBOSE
100 bool "Increases logging (and size)"
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000101 default n
102 depends on CONFIG_DEVFSD
103 help
Eric Andersenf18bd892003-12-19 11:07:59 +0000104 Increases logging to stderr or syslog.
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000105
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000106config CONFIG_FEATURE_DEVFS
107 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
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000116config CONFIG_EJECT
117 bool "eject"
118 default n
119 help
120 Used to eject cdroms. (defaults to /dev/cdrom)
121
Eric Andersen2e9c2572003-08-08 22:26:06 +0000122config CONFIG_LAST
123 bool "last"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000124 default n
Mike Frysinger8deb6862005-07-01 01:04:32 +0000125 select CONFIG_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
Rob Landley9200e792005-09-15 19:26:59 +0000129config CONFIG_LESS
130 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
136config CONFIG_FEATURE_LESS_BRACKETS
Rob Landley2ec922e2006-04-13 23:22:16 +0000137 bool "Enable bracket searching"
Rob Landley9200e792005-09-15 19:26:59 +0000138 default y
139 depends on CONFIG_LESS
140 help
141 This option adds the capability to search for matching left and right
142 brackets, facilitating programming.
143
144config CONFIG_FEATURE_LESS_FLAGS
Rob Landley2ec922e2006-04-13 23:22:16 +0000145 bool "Enable extra flags"
Rob Landley9200e792005-09-15 19:26:59 +0000146 default y
147 depends on CONFIG_LESS
148 help
149 The extra flags provided do the following:
150
151 The -M flag enables a more sophisticated status line.
152 The -m flag enables a simpler status line with a percentage.
153
154config CONFIG_FEATURE_LESS_FLAGCS
Rob Landley2ec922e2006-04-13 23:22:16 +0000155 bool "Enable flag changes"
Rob Landley9200e792005-09-15 19:26:59 +0000156 default n
157 depends on CONFIG_LESS
158 help
159 This enables the ability to change command-line flags within
160 less itself.
161
162config CONFIG_FEATURE_LESS_MARKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000163 bool "Enable marks"
Rob Landley9200e792005-09-15 19:26:59 +0000164 default n
165 depends on CONFIG_LESS
166 help
167 Marks enable positions in a file to be stored for easy reference.
168
169config CONFIG_FEATURE_LESS_REGEXP
Rob Landley2ec922e2006-04-13 23:22:16 +0000170 bool "Enable regular expressions"
Rob Landley9200e792005-09-15 19:26:59 +0000171 default n
172 depends on CONFIG_LESS
173 help
174 Enable regular expressions, allowing complex file searches.
175
Eric Andersen3443bd72003-07-22 07:30:36 +0000176config CONFIG_HDPARM
177 bool "hdparm"
178 default n
179 help
180 Get/Set hard drive parameters. Primarily intended for ATA
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000181 drives. Adds about 13k (or around 30k if you enable the
Eric Andersen3443bd72003-07-22 07:30:36 +0000182 CONFIG_FEATURE_HDPARM_GET_IDENTITY option)....
183
184config CONFIG_FEATURE_HDPARM_GET_IDENTITY
Rob Landley2ec922e2006-04-13 23:22:16 +0000185 bool "Support obtaining detailed information directly from drives"
Eric Andersen3443bd72003-07-22 07:30:36 +0000186 default y
Rob Landley06208412006-05-31 22:52:57 +0000187 depends on CONFIG_HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000188 help
Rob Landley06208412006-05-31 22:52:57 +0000189 Enables the -I and -i options to obtain detailed information
Eric Andersen3443bd72003-07-22 07:30:36 +0000190 directly from drives about their capabilities and supported ATA
Rob Landley06208412006-05-31 22:52:57 +0000191 feature set. If no device name is specified, hdparm will read
192 identify data from stdin. Enabling this option will add about 16k...
Eric Andersen3443bd72003-07-22 07:30:36 +0000193
194config CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000195 bool "Register an IDE interface (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000196 default n
197 depends on CONFIG_HDPARM
198 help
199 Enables the 'hdparm -R' option to register an IDE interface.
200 This is dangerous stuff, so you should probably say N.
201
202config CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000203 bool "Un-register an IDE interface (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000204 default n
205 depends on CONFIG_HDPARM
206 help
207 Enables the 'hdparm -U' option to un-register an IDE interface.
208 This is dangerous stuff, so you should probably say N.
209
210config CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
Rob Landley2ec922e2006-04-13 23:22:16 +0000211 bool "perform device reset (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000212 default n
213 depends on CONFIG_HDPARM
214 help
215 Enables the 'hdparm -w' option to perform a device reset.
216 This is dangerous stuff, so you should probably say N.
217
218config CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000219 bool "tristate device for hotswap (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000220 default n
221 depends on CONFIG_HDPARM
222 help
223 Enables the 'hdparm -x' option to tristate device for hotswap,
224 and the '-b' option to get/set bus state. This is dangerous
225 stuff, so you should probably say N.
226
Eric Andersen0a57a792003-08-06 08:57:35 +0000227config CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
Rob Landley2ec922e2006-04-13 23:22:16 +0000228 bool "get/set using_dma flag (DANGEROUS)"
Eric Andersen0a57a792003-08-06 08:57:35 +0000229 default n
230 depends on CONFIG_HDPARM
231 help
232 Enables the 'hdparm -d' option to get/set using_dma flag.
233 This is dangerous stuff, so you should probably say N.
234
Eric Andersenc9f20d92002-12-05 08:41:41 +0000235config CONFIG_MAKEDEVS
236 bool "makedevs"
237 default n
238 help
Eric Andersen3d925622005-06-09 10:16:02 +0000239 'makedevs' is a utility used to create a batch of devices with
240 one command.
241 .
242 There are two choices for command line behaviour, the interface
243 as used by LEAF/Linux Router Project, or a device table file.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000244 .
Eric Andersen3d925622005-06-09 10:16:02 +0000245 'leaf' is traditionally what busybox follows, it allows multiple
246 devices of a particluar type to be created per command.
247 e.g. /dev/hda[0-9]
248 Device properties are passed as command line arguments.
249 .
250 'table' reads device properties from a file or stdin, allowing
Bernhard Reutner-Fischer771b1862006-03-24 14:30:05 +0000251 a batch of unrelated devices to be made with one command.
Eric Andersen3d925622005-06-09 10:16:02 +0000252 User/group names are allowed as an alternative to uid/gid.
253
254choice
255 prompt "Choose makedevs behaviour"
Eric Andersen1b7058c2005-07-18 09:36:49 +0000256 depends CONFIG_MAKEDEVS
257 default CONFIG_FEATURE_MAKEDEVS_TABLE
Eric Andersen3d925622005-06-09 10:16:02 +0000258
259config CONFIG_FEATURE_MAKEDEVS_LEAF
260 bool "leaf"
261
262config CONFIG_FEATURE_MAKEDEVS_TABLE
263 bool "table"
264
265endchoice
Eric Andersenc9f20d92002-12-05 08:41:41 +0000266
Rob Landleyd00b3a52005-08-20 05:07:08 +0000267config CONFIG_MOUNTPOINT
268 bool "mountpoint"
269 default n
270 help
271 mountpoint checks if the directory is a mountpoint.
272
Eric Andersenc9f20d92002-12-05 08:41:41 +0000273config CONFIG_MT
274 bool "mt"
275 default n
276 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000277 mt is used to control tape devices. You can use the mt utility
Eric Andersene5642112003-07-14 19:37:08 +0000278 to advance or rewind a tape past a specified number of archive
279 files on the tape.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000280
Rob Landley0e4690d2006-08-20 22:12:18 +0000281config CONFIG_READAHEAD
282 bool "readahead"
283 default n
284 help
285 Preload the files listed on the command line into RAM cache so that
286 subsequent reads on these files will not block on disk I/O.
287
288 This applet just calls the readahead(2) system call on each file.
289 It is mainly useful in system startup scripts to preload files
290 or executables before they are used. When used at the right time
291 (in particular when a CPU boundprocess is running) it can
292 significantly speed up system startup.
293
294 As readahead(2) blocks until each file has been read, it is best to
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000295 run this applet as a background job.
Rob Landley0e4690d2006-08-20 22:12:18 +0000296
Rob Landley51be57e2006-02-23 00:42:25 +0000297config CONFIG_RUNLEVEL
Bernhard Reutner-Fischer62d7acc2005-10-28 20:37:03 +0000298 bool "runlevel"
299 default n
300 help
301 find the current and previous system runlevel.
302
303 This applet uses utmp but does not rely on busybox supporing
304 utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
305
Glenn L McGrath8f3bc4c2003-12-20 07:30:35 +0000306config CONFIG_RX
307 bool "rx"
308 default n
309 help
310 Receive files using the Xmodem protocol.
311
Eric Andersenc9f20d92002-12-05 08:41:41 +0000312config CONFIG_STRINGS
313 bool "strings"
314 default n
315 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000316 strings prints the printable character sequences for each file
Eric Andersene5642112003-07-14 19:37:08 +0000317 specified.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000318
Paul Fox42403642005-08-01 22:52:09 +0000319config CONFIG_SETSID
320 bool "setsid"
321 default n
322 help
323 setsid runs a program in a new session
324
Bernhard Reutner-Fischer16d3e4e2006-06-07 15:44:59 +0000325config CONFIG_TASKSET
326 bool "taskset"
327 default n
328 help
Mike Frysinger259472e2006-07-03 05:22:36 +0000329 Retrieve or set a processes's CPU affinity.
Rob Landley12d94192006-06-30 22:20:43 +0000330
Eric Andersenc9f20d92002-12-05 08:41:41 +0000331config CONFIG_TIME
332 bool "time"
333 default n
334 help
Eric Andersene5642112003-07-14 19:37:08 +0000335 The time command runs the specified program with the given arguments.
336 When the command finishes, time writes a message to standard output
337 giving timing statistics about this program run.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000338
Eric Andersenc9f20d92002-12-05 08:41:41 +0000339config CONFIG_WATCHDOG
340 bool "watchdog"
341 default n
342 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000343 The watchdog utility is used with hardware or software watchdog
Eric Andersen795c4ba2003-07-22 10:11:48 +0000344 device drivers. It opens the specified watchdog device special file
345 and periodically writes a magic character to the device. If the
346 watchdog applet ever fails to write the magic character within a
Eric Andersenac00aa72003-07-26 08:07:56 +0000347 certain amount of time, the watchdog device assumes the system has
348 hung, and will cause the hardware to reboot.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000349
350endmenu
351