blob: 75a48c879d78941439379ff2bb163fb805752877 [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 Landley4c5ad2f2006-06-07 20:11:53 +000070 This is deprecated, and will be going away in a future release.
71
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
108 This tells busybox to look for names like /dev/loop/0 instead of
109 /dev/loop0. If your /dev directory has normal names instead of
110 devfs names, you don't want this.
111
112 This is obsolete and will be going away someday. Consider it
113 deprecated.
114
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000115config CONFIG_EJECT
116 bool "eject"
117 default n
118 help
119 Used to eject cdroms. (defaults to /dev/cdrom)
120
Eric Andersen2e9c2572003-08-08 22:26:06 +0000121config CONFIG_LAST
122 bool "last"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000123 default n
Mike Frysinger8deb6862005-07-01 01:04:32 +0000124 select CONFIG_FEATURE_WTMP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000125 help
Eric Andersen2e9c2572003-08-08 22:26:06 +0000126 'last' displays a list of the last users that logged into the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000127
Rob Landley9200e792005-09-15 19:26:59 +0000128config CONFIG_LESS
129 bool "less"
130 default n
131 help
132 'less' is a pager, meaning that it displays text files. It possesses
133 a wide array of features, and is an improvement over 'more'.
134
135config CONFIG_FEATURE_LESS_BRACKETS
Rob Landley2ec922e2006-04-13 23:22:16 +0000136 bool "Enable bracket searching"
Rob Landley9200e792005-09-15 19:26:59 +0000137 default y
138 depends on CONFIG_LESS
139 help
140 This option adds the capability to search for matching left and right
141 brackets, facilitating programming.
142
143config CONFIG_FEATURE_LESS_FLAGS
Rob Landley2ec922e2006-04-13 23:22:16 +0000144 bool "Enable extra flags"
Rob Landley9200e792005-09-15 19:26:59 +0000145 default y
146 depends on CONFIG_LESS
147 help
148 The extra flags provided do the following:
149
150 The -M flag enables a more sophisticated status line.
151 The -m flag enables a simpler status line with a percentage.
152
153config CONFIG_FEATURE_LESS_FLAGCS
Rob Landley2ec922e2006-04-13 23:22:16 +0000154 bool "Enable flag changes"
Rob Landley9200e792005-09-15 19:26:59 +0000155 default n
156 depends on CONFIG_LESS
157 help
158 This enables the ability to change command-line flags within
159 less itself.
160
161config CONFIG_FEATURE_LESS_MARKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000162 bool "Enable marks"
Rob Landley9200e792005-09-15 19:26:59 +0000163 default n
164 depends on CONFIG_LESS
165 help
166 Marks enable positions in a file to be stored for easy reference.
167
168config CONFIG_FEATURE_LESS_REGEXP
Rob Landley2ec922e2006-04-13 23:22:16 +0000169 bool "Enable regular expressions"
Rob Landley9200e792005-09-15 19:26:59 +0000170 default n
171 depends on CONFIG_LESS
172 help
173 Enable regular expressions, allowing complex file searches.
174
Eric Andersen3443bd72003-07-22 07:30:36 +0000175config CONFIG_HDPARM
176 bool "hdparm"
177 default n
178 help
179 Get/Set hard drive parameters. Primarily intended for ATA
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000180 drives. Adds about 13k (or around 30k if you enable the
Eric Andersen3443bd72003-07-22 07:30:36 +0000181 CONFIG_FEATURE_HDPARM_GET_IDENTITY option)....
182
183config CONFIG_FEATURE_HDPARM_GET_IDENTITY
Rob Landley2ec922e2006-04-13 23:22:16 +0000184 bool "Support obtaining detailed information directly from drives"
Eric Andersen3443bd72003-07-22 07:30:36 +0000185 default y
Rob Landley06208412006-05-31 22:52:57 +0000186 depends on CONFIG_HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000187 help
Rob Landley06208412006-05-31 22:52:57 +0000188 Enables the -I and -i options to obtain detailed information
Eric Andersen3443bd72003-07-22 07:30:36 +0000189 directly from drives about their capabilities and supported ATA
Rob Landley06208412006-05-31 22:52:57 +0000190 feature set. If no device name is specified, hdparm will read
191 identify data from stdin. Enabling this option will add about 16k...
Eric Andersen3443bd72003-07-22 07:30:36 +0000192
193config CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000194 bool "Register an IDE interface (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000195 default n
196 depends on CONFIG_HDPARM
197 help
198 Enables the 'hdparm -R' option to register an IDE interface.
199 This is dangerous stuff, so you should probably say N.
200
201config CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000202 bool "Un-register an IDE interface (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000203 default n
204 depends on CONFIG_HDPARM
205 help
206 Enables the 'hdparm -U' option to un-register an IDE interface.
207 This is dangerous stuff, so you should probably say N.
208
209config CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
Rob Landley2ec922e2006-04-13 23:22:16 +0000210 bool "perform device reset (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000211 default n
212 depends on CONFIG_HDPARM
213 help
214 Enables the 'hdparm -w' option to perform a device reset.
215 This is dangerous stuff, so you should probably say N.
216
217config CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000218 bool "tristate device for hotswap (DANGEROUS)"
Eric Andersen3443bd72003-07-22 07:30:36 +0000219 default n
220 depends on CONFIG_HDPARM
221 help
222 Enables the 'hdparm -x' option to tristate device for hotswap,
223 and the '-b' option to get/set bus state. This is dangerous
224 stuff, so you should probably say N.
225
Eric Andersen0a57a792003-08-06 08:57:35 +0000226config CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
Rob Landley2ec922e2006-04-13 23:22:16 +0000227 bool "get/set using_dma flag (DANGEROUS)"
Eric Andersen0a57a792003-08-06 08:57:35 +0000228 default n
229 depends on CONFIG_HDPARM
230 help
231 Enables the 'hdparm -d' option to get/set using_dma flag.
232 This is dangerous stuff, so you should probably say N.
233
Eric Andersenc9f20d92002-12-05 08:41:41 +0000234config CONFIG_MAKEDEVS
235 bool "makedevs"
236 default n
237 help
Eric Andersen3d925622005-06-09 10:16:02 +0000238 'makedevs' is a utility used to create a batch of devices with
239 one command.
240 .
241 There are two choices for command line behaviour, the interface
242 as used by LEAF/Linux Router Project, or a device table file.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000243 .
Eric Andersen3d925622005-06-09 10:16:02 +0000244 'leaf' is traditionally what busybox follows, it allows multiple
245 devices of a particluar type to be created per command.
246 e.g. /dev/hda[0-9]
247 Device properties are passed as command line arguments.
248 .
249 'table' reads device properties from a file or stdin, allowing
Bernhard Reutner-Fischer771b1862006-03-24 14:30:05 +0000250 a batch of unrelated devices to be made with one command.
Eric Andersen3d925622005-06-09 10:16:02 +0000251 User/group names are allowed as an alternative to uid/gid.
252
253choice
254 prompt "Choose makedevs behaviour"
Eric Andersen1b7058c2005-07-18 09:36:49 +0000255 depends CONFIG_MAKEDEVS
256 default CONFIG_FEATURE_MAKEDEVS_TABLE
Eric Andersen3d925622005-06-09 10:16:02 +0000257
258config CONFIG_FEATURE_MAKEDEVS_LEAF
259 bool "leaf"
260
261config CONFIG_FEATURE_MAKEDEVS_TABLE
262 bool "table"
263
264endchoice
Eric Andersenc9f20d92002-12-05 08:41:41 +0000265
Rob Landleyd00b3a52005-08-20 05:07:08 +0000266config CONFIG_MOUNTPOINT
267 bool "mountpoint"
268 default n
269 help
270 mountpoint checks if the directory is a mountpoint.
271
Eric Andersenc9f20d92002-12-05 08:41:41 +0000272config CONFIG_MT
273 bool "mt"
274 default n
275 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000276 mt is used to control tape devices. You can use the mt utility
Eric Andersene5642112003-07-14 19:37:08 +0000277 to advance or rewind a tape past a specified number of archive
278 files on the tape.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000279
Rob Landley51be57e2006-02-23 00:42:25 +0000280config CONFIG_RUNLEVEL
Bernhard Reutner-Fischer62d7acc2005-10-28 20:37:03 +0000281 bool "runlevel"
282 default n
283 help
284 find the current and previous system runlevel.
285
286 This applet uses utmp but does not rely on busybox supporing
287 utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
288
Glenn L McGrath8f3bc4c2003-12-20 07:30:35 +0000289config CONFIG_RX
290 bool "rx"
291 default n
292 help
293 Receive files using the Xmodem protocol.
294
Eric Andersenc9f20d92002-12-05 08:41:41 +0000295config CONFIG_STRINGS
296 bool "strings"
297 default n
298 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000299 strings prints the printable character sequences for each file
Eric Andersene5642112003-07-14 19:37:08 +0000300 specified.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000301
Paul Fox42403642005-08-01 22:52:09 +0000302config CONFIG_SETSID
303 bool "setsid"
304 default n
305 help
306 setsid runs a program in a new session
307
Bernhard Reutner-Fischer16d3e4e2006-06-07 15:44:59 +0000308config CONFIG_TASKSET
309 bool "taskset"
310 default n
311 help
Bernhard Reutner-Fischerf915a772006-06-07 21:26:09 +0000312 Retrieve or set a processes's CPU affinity
Bernhard Reutner-Fischer16d3e4e2006-06-07 15:44:59 +0000313
Eric Andersenc9f20d92002-12-05 08:41:41 +0000314config CONFIG_TIME
315 bool "time"
316 default n
317 help
Eric Andersene5642112003-07-14 19:37:08 +0000318 The time command runs the specified program with the given arguments.
319 When the command finishes, time writes a message to standard output
320 giving timing statistics about this program run.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000321
Eric Andersenc9f20d92002-12-05 08:41:41 +0000322config CONFIG_WATCHDOG
323 bool "watchdog"
324 default n
325 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000326 The watchdog utility is used with hardware or software watchdog
Eric Andersen795c4ba2003-07-22 10:11:48 +0000327 device drivers. It opens the specified watchdog device special file
328 and periodically writes a magic character to the device. If the
329 watchdog applet ever fails to write the magic character within a
Eric Andersenac00aa72003-07-26 08:07:56 +0000330 certain amount of time, the watchdog device assumes the system has
331 hung, and will cause the hardware to reboot.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000332
333endmenu
334