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