Upgrade busybox to 1.7.2
[openwrt/svn-archive/archive.git] / package / busybox / config / miscutils / Config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
4 #
5
6 menu "Miscellaneous Utilities"
7
8 config BUSYBOX_CONFIG_ADJTIMEX
9 bool "adjtimex"
10 default n
11 help
12 Adjtimex reads and optionally sets adjustment parameters for
13 the Linux clock adjustment algorithm.
14
15 config BUSYBOX_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
22 config BUSYBOX_CONFIG_CHRT
23 bool "chrt"
24 default n
25 help
26 manipulate real-time attributes of a process.
27 This requires sched_{g,s}etparam support in your libc.
28
29 config BUSYBOX_CONFIG_CROND
30 bool "crond"
31 default y
32 select BUSYBOX_CONFIG_FEATURE_SUID
33 select BUSYBOX_CONFIG_FEATURE_SYSLOG
34 help
35 Crond is a background daemon that parses individual crontab
36 files and executes commands on behalf of the users in question.
37 This is a port of dcron from slackware. It uses files of the
38 format /var/spool/cron/crontabs/<username> files, for example:
39 $ cat /var/spool/cron/crontabs/root
40 # Run daily cron jobs at 4:40 every day:
41 40 4 * * * /etc/cron/daily > /dev/null 2>&1
42 Note that Busybox binary must be setuid root for this applet to
43 work properly.
44
45 config BUSYBOX_CONFIG_DEBUG_CROND_OPTION
46 bool "Support debug option -d"
47 depends on BUSYBOX_CONFIG_CROND
48 default n
49 help
50 Support option -d to enter debug mode.
51
52 config BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL
53 bool "Using /usr/sbin/sendmail?"
54 default n
55 depends on BUSYBOX_CONFIG_CROND
56 help
57 Support calling /usr/sbin/sendmail for send cmd outputs.
58
59 config BUSYBOX_CONFIG_CRONTAB
60 bool "crontab"
61 default y
62 select BUSYBOX_CONFIG_FEATURE_SUID
63 help
64 Crontab manipulates the crontab for a particular user. Only
65 the superuser may specify a different user and/or crontab directory.
66
67 config BUSYBOX_CONFIG_DC
68 bool "dc"
69 default n
70 help
71 Dc is a reverse-polish desk calculator which supports unlimited
72 precision arithmetic.
73
74 config BUSYBOX_CONFIG_DEVFSD
75 bool "devfsd (obsolete)"
76 default n
77 select BUSYBOX_CONFIG_FEATURE_SYSLOG
78 help
79 This is deprecated, and will be removed at the end of 2008.
80
81 Provides compatibility with old device names on a devfs systems.
82 You should set it to true if you have devfs enabled.
83 The following keywords in devsfd.conf are supported:
84 "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
85 "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
86 "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
87
88 But only if they are written UPPERCASE!!!!!!!!
89
90 config BUSYBOX_CONFIG_DEVFSD_MODLOAD
91 bool "Adds support for MODLOAD keyword in devsfd.conf"
92 default n
93 depends on BUSYBOX_CONFIG_DEVFSD
94 help
95 This actually doesn't work with busybox modutils but needs
96 the external modutils.
97
98 config BUSYBOX_CONFIG_DEVFSD_FG_NP
99 bool "Enables the -fg and -np options"
100 default n
101 depends on BUSYBOX_CONFIG_DEVFSD
102 help
103 -fg Run the daemon in the foreground.
104 -np Exit after parsing the configuration file. Do not poll for events.
105
106 config BUSYBOX_CONFIG_DEVFSD_VERBOSE
107 bool "Increases logging (and size)"
108 default n
109 depends on BUSYBOX_CONFIG_DEVFSD
110 help
111 Increases logging to stderr or syslog.
112
113 config BUSYBOX_CONFIG_FEATURE_DEVFS
114 bool " Use devfs names for all devices (obsolete)"
115 default n
116 help
117 This is obsolete and will be going away at the end of 2008..
118
119 This tells busybox to look for names like /dev/loop/0 instead of
120 /dev/loop0. If your /dev directory has normal names instead of
121 devfs names, you don't want this.
122
123 config BUSYBOX_CONFIG_EJECT
124 bool "eject"
125 default n
126 help
127 Used to eject cdroms. (defaults to /dev/cdrom)
128
129 config BUSYBOX_CONFIG_LAST
130 bool "last"
131 default n
132 select BUSYBOX_CONFIG_FEATURE_WTMP
133 help
134 'last' displays a list of the last users that logged into the system.
135
136 config BUSYBOX_CONFIG_LESS
137 bool "less"
138 default y
139 help
140 'less' is a pager, meaning that it displays text files. It possesses
141 a wide array of features, and is an improvement over 'more'.
142
143 config BUSYBOX_CONFIG_FEATURE_LESS_MAXLINES
144 int "Max number of input lines less will try to eat"
145 default 9999999
146 depends on BUSYBOX_CONFIG_LESS
147
148 config BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS
149 bool "Enable bracket searching"
150 default n
151 depends on BUSYBOX_CONFIG_LESS
152 help
153 This option adds the capability to search for matching left and right
154 brackets, facilitating programming.
155
156 config BUSYBOX_CONFIG_FEATURE_LESS_FLAGS
157 bool "Enable extra flags"
158 default n
159 depends on BUSYBOX_CONFIG_LESS
160 help
161 The extra flags provided do the following:
162
163 The -M flag enables a more sophisticated status line.
164 The -m flag enables a simpler status line with a percentage.
165
166 config BUSYBOX_CONFIG_FEATURE_LESS_FLAGCS
167 bool "Enable flag changes"
168 default n
169 depends on BUSYBOX_CONFIG_LESS
170 help
171 This enables the ability to change command-line flags within
172 less itself.
173
174 config BUSYBOX_CONFIG_FEATURE_LESS_MARKS
175 bool "Enable marks"
176 default n
177 depends on BUSYBOX_CONFIG_LESS
178 help
179 Marks enable positions in a file to be stored for easy reference.
180
181 config BUSYBOX_CONFIG_FEATURE_LESS_REGEXP
182 bool "Enable regular expressions"
183 default n
184 depends on BUSYBOX_CONFIG_LESS
185 help
186 Enable regular expressions, allowing complex file searches.
187
188 config BUSYBOX_CONFIG_HDPARM
189 bool "hdparm"
190 default n
191 help
192 Get/Set hard drive parameters. Primarily intended for ATA
193 drives. Adds about 13k (or around 30k if you enable the
194 FEATURE_HDPARM_GET_IDENTITY option)....
195
196 config BUSYBOX_CONFIG_FEATURE_HDPARM_GET_IDENTITY
197 bool "Support obtaining detailed information directly from drives"
198 default n
199 depends on BUSYBOX_CONFIG_HDPARM
200 help
201 Enables the -I and -i options to obtain detailed information
202 directly from drives about their capabilities and supported ATA
203 feature set. If no device name is specified, hdparm will read
204 identify data from stdin. Enabling this option will add about 16k...
205
206 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
207 bool "Register an IDE interface (DANGEROUS)"
208 default n
209 depends on BUSYBOX_CONFIG_HDPARM
210 help
211 Enables the 'hdparm -R' option to register an IDE interface.
212 This is dangerous stuff, so you should probably say N.
213
214 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
215 bool "Un-register an IDE interface (DANGEROUS)"
216 default n
217 depends on BUSYBOX_CONFIG_HDPARM
218 help
219 Enables the 'hdparm -U' option to un-register an IDE interface.
220 This is dangerous stuff, so you should probably say N.
221
222 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
223 bool "perform device reset (DANGEROUS)"
224 default n
225 depends on BUSYBOX_CONFIG_HDPARM
226 help
227 Enables the 'hdparm -w' option to perform a device reset.
228 This is dangerous stuff, so you should probably say N.
229
230 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
231 bool "tristate device for hotswap (DANGEROUS)"
232 default n
233 depends on BUSYBOX_CONFIG_HDPARM
234 help
235 Enables the 'hdparm -x' option to tristate device for hotswap,
236 and the '-b' option to get/set bus state. This is dangerous
237 stuff, so you should probably say N.
238
239 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
240 bool "get/set using_dma flag (DANGEROUS)"
241 default n
242 depends on BUSYBOX_CONFIG_HDPARM
243 help
244 Enables the 'hdparm -d' option to get/set using_dma flag.
245 This is dangerous stuff, so you should probably say N.
246
247 config BUSYBOX_CONFIG_LOCK
248 bool "lock"
249 default y
250 help
251 Small utility for using locks in scripts
252
253 config BUSYBOX_CONFIG_MAKEDEVS
254 bool "makedevs"
255 default n
256 help
257 'makedevs' is a utility used to create a batch of devices with
258 one command.
259 .
260 There are two choices for command line behaviour, the interface
261 as used by LEAF/Linux Router Project, or a device table file.
262 .
263 'leaf' is traditionally what busybox follows, it allows multiple
264 devices of a particluar type to be created per command.
265 e.g. /dev/hda[0-9]
266 Device properties are passed as command line arguments.
267 .
268 'table' reads device properties from a file or stdin, allowing
269 a batch of unrelated devices to be made with one command.
270 User/group names are allowed as an alternative to uid/gid.
271
272 choice
273 prompt "Choose makedevs behaviour"
274 depends on BUSYBOX_CONFIG_MAKEDEVS
275 default BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
276
277 config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_LEAF
278 bool "leaf"
279
280 config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
281 bool "table"
282
283 endchoice
284
285 config BUSYBOX_CONFIG_MOUNTPOINT
286 bool "mountpoint"
287 default n
288 help
289 mountpoint checks if the directory is a mountpoint.
290
291 config BUSYBOX_CONFIG_MT
292 bool "mt"
293 default n
294 help
295 mt is used to control tape devices. You can use the mt utility
296 to advance or rewind a tape past a specified number of archive
297 files on the tape.
298
299 config BUSYBOX_CONFIG_RAIDAUTORUN
300 bool "raidautorun"
301 default n
302 help
303 raidautorun tells the kernel md driver to
304 search and start RAID arrays.
305
306 config BUSYBOX_CONFIG_READAHEAD
307 bool "readahead"
308 default n
309 depends on BUSYBOX_CONFIG_LFS
310 help
311 Preload the files listed on the command line into RAM cache so that
312 subsequent reads on these files will not block on disk I/O.
313
314 This applet just calls the readahead(2) system call on each file.
315 It is mainly useful in system startup scripts to preload files
316 or executables before they are used. When used at the right time
317 (in particular when a CPU boundprocess is running) it can
318 significantly speed up system startup.
319
320 As readahead(2) blocks until each file has been read, it is best to
321 run this applet as a background job.
322
323 config BUSYBOX_CONFIG_RUNLEVEL
324 bool "runlevel"
325 default n
326 help
327 find the current and previous system runlevel.
328
329 This applet uses utmp but does not rely on busybox supporing
330 utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
331
332 config BUSYBOX_CONFIG_RX
333 bool "rx"
334 default n
335 help
336 Receive files using the Xmodem protocol.
337
338 config BUSYBOX_CONFIG_STRINGS
339 bool "strings"
340 default y
341 help
342 strings prints the printable character sequences for each file
343 specified.
344
345 config BUSYBOX_CONFIG_SETSID
346 bool "setsid"
347 default n
348 help
349 setsid runs a program in a new session
350
351 config BUSYBOX_CONFIG_TASKSET
352 bool "taskset"
353 default n
354 help
355 Retrieve or set a processes's CPU affinity.
356 This requires sched_{g,s}etaffinity support in your libc.
357
358 config BUSYBOX_CONFIG_FEATURE_TASKSET_FANCY
359 bool "fancy output"
360 default n
361 depends on BUSYBOX_CONFIG_TASKSET
362 help
363 Add code for fancy output. This merely silences a compiler-warning
364 and adds about 135 Bytes. May be needed for machines with alot
365 of CPUs.
366
367 config BUSYBOX_CONFIG_TIME
368 bool "time"
369 default y
370 help
371 The time command runs the specified program with the given arguments.
372 When the command finishes, time writes a message to standard output
373 giving timing statistics about this program run.
374
375 config BUSYBOX_CONFIG_TTYSIZE
376 bool "ttysize"
377 default n
378 help
379 A replacement for "stty size". Unlike stty, can report only width,
380 only height, or both, in any order. It also does not complain on error,
381 but returns default 80x24. Usage in shell scripts: width=`ttysize w`.
382
383 config BUSYBOX_CONFIG_WATCHDOG
384 bool "watchdog"
385 default y
386 help
387 The watchdog utility is used with hardware or software watchdog
388 device drivers. It opens the specified watchdog device special file
389 and periodically writes a magic character to the device. If the
390 watchdog applet ever fails to write the magic character within a
391 certain amount of time, the watchdog device assumes the system has
392 hung, and will cause the hardware to reboot.
393
394 endmenu
395