update busybox menuconfig for the latest version
[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_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 y
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_BRACKETS
137         bool "Enable bracket searching"
138         default n
139         depends on BUSYBOX_CONFIG_LESS
140         help
141           This option adds the capability to search for matching left and right
142           brackets, facilitating programming.
143
144 config BUSYBOX_CONFIG_FEATURE_LESS_FLAGS
145         bool "Enable extra flags"
146         default n
147         depends on BUSYBOX_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
154 config BUSYBOX_CONFIG_FEATURE_LESS_FLAGCS
155         bool "Enable flag changes"
156         default n
157         depends on BUSYBOX_CONFIG_LESS
158         help
159           This enables the ability to change command-line flags within
160           less itself.
161
162 config BUSYBOX_CONFIG_FEATURE_LESS_MARKS
163         bool "Enable marks"
164         default n
165         depends on BUSYBOX_CONFIG_LESS
166         help
167           Marks enable positions in a file to be stored for easy reference.
168
169 config BUSYBOX_CONFIG_FEATURE_LESS_REGEXP
170         bool "Enable regular expressions"
171         default n
172         depends on BUSYBOX_CONFIG_LESS
173         help
174           Enable regular expressions, allowing complex file searches.
175
176 config BUSYBOX_CONFIG_HDPARM
177         bool "hdparm"
178         default n
179         help
180           Get/Set hard drive parameters.  Primarily intended for ATA
181           drives.  Adds about 13k (or around 30k if you enable the
182           FEATURE_HDPARM_GET_IDENTITY option)....
183
184 config BUSYBOX_CONFIG_FEATURE_HDPARM_GET_IDENTITY
185         bool "Support obtaining detailed information directly from drives"
186         default n
187         depends on BUSYBOX_CONFIG_HDPARM
188         help
189           Enables the -I and -i options to obtain detailed information
190           directly from drives about their capabilities and supported ATA
191           feature set. If no device name is specified, hdparm will read
192           identify data from stdin. Enabling this option will add about 16k...
193
194 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
195         bool "Register an IDE interface (DANGEROUS)"
196         default n
197         depends on BUSYBOX_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
202 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
203         bool "Un-register an IDE interface (DANGEROUS)"
204         default n
205         depends on BUSYBOX_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
210 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
211         bool "perform device reset (DANGEROUS)"
212         default n
213         depends on BUSYBOX_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
218 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
219         bool "tristate device for hotswap (DANGEROUS)"
220         default n
221         depends on BUSYBOX_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
227 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
228         bool "get/set using_dma flag (DANGEROUS)"
229         default n
230         depends on BUSYBOX_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
235 config BUSYBOX_CONFIG_LOCK
236         bool "lock"
237         default y
238         help
239           Small utility for using locks in scripts
240
241 config BUSYBOX_CONFIG_MAKEDEVS
242         bool "makedevs"
243         default n
244         help
245           'makedevs' is a utility used to create a batch of devices with
246           one command.
247           .
248           There are two choices for command line behaviour, the interface
249           as used by LEAF/Linux Router Project, or a device table file.
250           .
251           'leaf' is traditionally what busybox follows, it allows multiple
252           devices of a particluar type to be created per command.
253           e.g. /dev/hda[0-9]
254           Device properties are passed as command line arguments.
255           .
256           'table' reads device properties from a file or stdin, allowing
257           a batch of unrelated devices to be made with one command.
258           User/group names are allowed as an alternative to uid/gid.
259
260 choice
261         prompt "Choose makedevs behaviour"
262         depends BUSYBOX_CONFIG_MAKEDEVS
263         default BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
264
265 config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_LEAF
266         bool "leaf"
267
268 config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
269         bool "table"
270
271 endchoice
272
273 config BUSYBOX_CONFIG_MOUNTPOINT
274         bool "mountpoint"
275         default n
276         help
277           mountpoint checks if the directory is a mountpoint.
278
279 config BUSYBOX_CONFIG_MT
280         bool "mt"
281         default n
282         help
283           mt is used to control tape devices.  You can use the mt utility
284           to advance or rewind a tape past a specified number of archive
285           files on the tape.
286
287 config BUSYBOX_CONFIG_NMETER
288         bool "nmeter"
289         default n
290         help
291           nmeter prints various system parameters continuously.
292
293 config BUSYBOX_CONFIG_RAIDAUTORUN
294         bool "raidautorun"
295         default n
296         help
297           raidautorun tells the kernel md driver to
298           search and start RAID arrays.
299
300 config BUSYBOX_CONFIG_READAHEAD
301         bool "readahead"
302         default n
303         help
304           Preload the files listed on the command line into RAM cache so that
305           subsequent reads on these files will not block on disk I/O.
306
307           This applet just calls the readahead(2) system call on each file.
308           It is mainly useful in system startup scripts to preload files
309           or executables before they are used.  When used at the right time
310           (in particular when a CPU boundprocess is running) it can
311           significantly speed up system startup.
312
313           As readahead(2) blocks until each file has been read, it is best to
314           run this applet as a background job.
315
316 config BUSYBOX_CONFIG_RUNLEVEL
317         bool "runlevel"
318         default n
319         help
320           find the current and previous system runlevel.
321
322           This applet uses utmp but does not rely on busybox supporing
323           utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
324
325 config BUSYBOX_CONFIG_RX
326         bool "rx"
327         default n
328         help
329           Receive files using the Xmodem protocol.
330
331 config BUSYBOX_CONFIG_STRINGS
332         bool "strings"
333         default y
334         help
335           strings prints the printable character sequences for each file
336           specified.
337
338 config BUSYBOX_CONFIG_SETSID
339         bool "setsid"
340         default n
341         help
342           setsid runs a program in a new session
343
344 config BUSYBOX_CONFIG_TASKSET
345         bool "taskset"
346         default n
347         help
348           Retrieve or set a processes's CPU affinity.
349           This requires sched_{g,s}etaffinity support in your libc.
350
351 config BUSYBOX_CONFIG_FEATURE_TASKSET_FANCY
352         bool "fancy output"
353         default n
354         depends on BUSYBOX_CONFIG_TASKSET
355         help
356           Add code for fancy output. This merely silences a compiler-warning
357           and adds about 135 Bytes. May be needed for machines with alot
358           of CPUs.
359
360 config BUSYBOX_CONFIG_TIME
361         bool "time"
362         default y
363         help
364           The time command runs the specified program with the given arguments.
365           When the command finishes, time writes a message to standard output
366           giving timing statistics about this program run.
367
368 config BUSYBOX_CONFIG_WATCHDOG
369         bool "watchdog"
370         default y
371         help
372           The watchdog utility is used with hardware or software watchdog
373           device drivers.  It opens the specified watchdog device special file
374           and periodically writes a magic character to the device.  If the
375           watchdog applet ever fails to write the magic character within a
376           certain amount of time, the watchdog device assumes the system has
377           hung, and will cause the hardware to reboot.
378
379 endmenu
380