upgrade busybox to 1.8.1
[openwrt.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_MICROCOM
286         bool "microcom"
287         default n
288         help
289           The poor man's minicom utility for chatting with serial port devices.
290
291 config BUSYBOX_CONFIG_MOUNTPOINT
292         bool "mountpoint"
293         default n
294         help
295           mountpoint checks if the directory is a mountpoint.
296
297 config BUSYBOX_CONFIG_MT
298         bool "mt"
299         default n
300         help
301           mt is used to control tape devices.  You can use the mt utility
302           to advance or rewind a tape past a specified number of archive
303           files on the tape.
304
305 config BUSYBOX_CONFIG_RAIDAUTORUN
306         bool "raidautorun"
307         default n
308         help
309           raidautorun tells the kernel md driver to
310           search and start RAID arrays.
311
312 config BUSYBOX_CONFIG_READAHEAD
313         bool "readahead"
314         default n
315         depends on BUSYBOX_CONFIG_LFS
316         help
317           Preload the files listed on the command line into RAM cache so that
318           subsequent reads on these files will not block on disk I/O.
319
320           This applet just calls the readahead(2) system call on each file.
321           It is mainly useful in system startup scripts to preload files
322           or executables before they are used.  When used at the right time
323           (in particular when a CPU boundprocess is running) it can
324           significantly speed up system startup.
325
326           As readahead(2) blocks until each file has been read, it is best to
327           run this applet as a background job.
328
329 config BUSYBOX_CONFIG_RUNLEVEL
330         bool "runlevel"
331         default n
332         help
333           find the current and previous system runlevel.
334
335           This applet uses utmp but does not rely on busybox supporing
336           utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
337
338 config BUSYBOX_CONFIG_RX
339         bool "rx"
340         default n
341         help
342           Receive files using the Xmodem protocol.
343
344 config BUSYBOX_CONFIG_STRINGS
345         bool "strings"
346         default y
347         help
348           strings prints the printable character sequences for each file
349           specified.
350
351 config BUSYBOX_CONFIG_SETSID
352         bool "setsid"
353         default n
354         help
355           setsid runs a program in a new session
356
357 config BUSYBOX_CONFIG_TASKSET
358         bool "taskset"
359         default n
360         help
361           Retrieve or set a processes's CPU affinity.
362           This requires sched_{g,s}etaffinity support in your libc.
363
364 config BUSYBOX_CONFIG_FEATURE_TASKSET_FANCY
365         bool "fancy output"
366         default n
367         depends on BUSYBOX_CONFIG_TASKSET
368         help
369           Add code for fancy output. This merely silences a compiler-warning
370           and adds about 135 Bytes. May be needed for machines with alot
371           of CPUs.
372
373 config BUSYBOX_CONFIG_TIME
374         bool "time"
375         default y
376         help
377           The time command runs the specified program with the given arguments.
378           When the command finishes, time writes a message to standard output
379           giving timing statistics about this program run.
380
381 config BUSYBOX_CONFIG_TTYSIZE
382         bool "ttysize"
383         default n
384         help
385           A replacement for "stty size". Unlike stty, can report only width,
386           only height, or both, in any order. It also does not complain on error,
387           but returns default 80x24. Usage in shell scripts: width=`ttysize w`.
388
389 config BUSYBOX_CONFIG_WATCHDOG
390         bool "watchdog"
391         default y
392         help
393           The watchdog utility is used with hardware or software watchdog
394           device drivers.  It opens the specified watchdog device special file
395           and periodically writes a magic character to the device.  If the
396           watchdog applet ever fails to write the magic character within a
397           certain amount of time, the watchdog device assumes the system has
398           hung, and will cause the hardware to reboot.
399
400 endmenu
401