- add testcase for grep bug (http://busybox.net/bugs/view.php?id=887)
[oweals/busybox.git] / 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 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 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 CONFIG_CROND
23         bool "crond"
24         default n
25         select CONFIG_FEATURE_SUID
26         help
27           Crond is a background daemon that parses individual crontab
28           files and executes commands on behalf of the users in question.
29           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
34           Note that Busybox binary must be setuid root for this applet to
35           work properly.
36
37 config 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
44 config CONFIG_FEATURE_CROND_CALL_SENDMAIL
45         bool "Using /usr/sbin/sendmail?"
46         default n
47         depends on CONFIG_CROND
48         help
49           Support calling /usr/sbin/sendmail for send cmd outputs.
50
51 config CONFIG_CRONTAB
52         bool "crontab"
53         default n
54         select CONFIG_FEATURE_SUID
55         help
56           Crontab manipulates the crontab for a particular user.  Only
57           the superuser may specify a different user and/or crontab directory.
58
59 config CONFIG_DC
60         bool "dc"
61         default n
62         help
63           Dc is a reverse-polish desk calculator which supports unlimited
64           precision arithmetic.
65
66 config CONFIG_DEVFSD
67         bool "devfsd"
68         default n
69         help
70           Provides compatibility with old device names on a devfs systems.
71           You should set it to true if you have devfs enabled.
72           The following keywords in devsfd.conf are supported:
73           "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
74           "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
75           "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
76
77            But only if they are written UPPERCASE!!!!!!!!
78
79 config CONFIG_DEVFSD_MODLOAD
80         bool "Adds support for MODLOAD keyword in devsfd.conf"
81         default n
82         depends on CONFIG_DEVFSD
83         help
84           This actually doesn't work with busybox  modutils but needs the real modutils.
85
86 config CONFIG_DEVFSD_FG_NP
87         bool "Enables the -fg and -np options"
88         default n
89         depends on CONFIG_DEVFSD
90         help
91                 -fg     Run the daemon in the foreground.
92                 -np     Exit  after  parsing  the configuration file. Do not poll for events.
93
94 config CONFIG_DEVFSD_VERBOSE
95         bool "Increases logging (and size)"
96         default n
97         depends on CONFIG_DEVFSD
98         help
99           Increases logging to stderr or syslog.
100
101 config CONFIG_EJECT
102         bool "eject"
103         default n
104         help
105           Used to eject cdroms.  (defaults to /dev/cdrom)
106
107 config CONFIG_LAST
108         bool "last"
109         default n
110         select CONFIG_FEATURE_WTMP
111         help
112           'last' displays a list of the last users that logged into the system.
113
114 config CONFIG_LESS
115         bool "less"
116         default n
117         help
118           'less' is a pager, meaning that it displays text files. It possesses
119           a wide array of features, and is an improvement over 'more'.
120
121 config CONFIG_FEATURE_LESS_BRACKETS
122         bool "Enable bracket searching"
123         default y
124         depends on CONFIG_LESS
125         help
126           This option adds the capability to search for matching left and right
127           brackets, facilitating programming.
128
129 config CONFIG_FEATURE_LESS_FLAGS
130         bool "Enable extra flags"
131         default y
132         depends on CONFIG_LESS
133         help
134           The extra flags provided do the following:
135
136           The -M flag enables a more sophisticated status line.
137           The -m flag enables a simpler status line with a percentage.
138
139 config CONFIG_FEATURE_LESS_FLAGCS
140         bool "Enable flag changes"
141         default n
142         depends on CONFIG_LESS
143         help
144           This enables the ability to change command-line flags within
145           less itself.
146
147 config CONFIG_FEATURE_LESS_MARKS
148         bool "Enable marks"
149         default n
150         depends on CONFIG_LESS
151         help
152           Marks enable positions in a file to be stored for easy reference.
153
154 config CONFIG_FEATURE_LESS_REGEXP
155         bool "Enable regular expressions"
156         default n
157         depends on CONFIG_LESS
158         help
159           Enable regular expressions, allowing complex file searches.
160
161 config CONFIG_HDPARM
162         bool "hdparm"
163         default n
164         help
165           Get/Set hard drive parameters.  Primarily intended for ATA
166           drives.  Adds about 13k (or around 30k if you enable the
167           CONFIG_FEATURE_HDPARM_GET_IDENTITY option)....
168
169 config CONFIG_FEATURE_HDPARM_GET_IDENTITY
170         bool "Support obtaining detailed information directly from drives"
171         default y
172         depends on CONFIG_HDPARM
173         help
174           Enables the -I and -i options to obtain detailed information
175           directly from drives about their capabilities and supported ATA
176           feature set. If no device name is specified, hdparm will read
177           identify data from stdin. Enabling this option will add about 16k...
178
179 config CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
180         bool "Register an IDE interface (DANGEROUS)"
181         default n
182         depends on CONFIG_HDPARM
183         help
184           Enables the 'hdparm -R' option to register an IDE interface.
185           This is dangerous stuff, so you should probably say N.
186
187 config CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
188         bool "Un-register an IDE interface (DANGEROUS)"
189         default n
190         depends on CONFIG_HDPARM
191         help
192           Enables the 'hdparm -U' option to un-register an IDE interface.
193           This is dangerous stuff, so you should probably say N.
194
195 config CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
196         bool "perform device reset (DANGEROUS)"
197         default n
198         depends on CONFIG_HDPARM
199         help
200           Enables the 'hdparm -w' option to perform a device reset.
201           This is dangerous stuff, so you should probably say N.
202
203 config CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
204         bool "tristate device for hotswap (DANGEROUS)"
205         default n
206         depends on CONFIG_HDPARM
207         help
208           Enables the 'hdparm -x' option to tristate device for hotswap,
209           and the '-b' option to get/set bus state.  This is dangerous
210           stuff, so you should probably say N.
211
212 config CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
213         bool "get/set using_dma flag (DANGEROUS)"
214         default n
215         depends on CONFIG_HDPARM
216         help
217           Enables the 'hdparm -d' option to get/set using_dma flag.
218           This is dangerous stuff, so you should probably say N.
219
220 config CONFIG_MAKEDEVS
221         bool "makedevs"
222         default n
223         help
224           'makedevs' is a utility used to create a batch of devices with
225           one command.
226           .
227           There are two choices for command line behaviour, the interface
228           as used by LEAF/Linux Router Project, or a device table file.
229           .
230           'leaf' is traditionally what busybox follows, it allows multiple
231           devices of a particluar type to be created per command.
232           e.g. /dev/hda[0-9]
233           Device properties are passed as command line arguments.
234           .
235           'table' reads device properties from a file or stdin, allowing
236           a batch of unrelated devices to be made with one command.
237           User/group names are allowed as an alternative to uid/gid.
238
239 choice
240         prompt "Choose makedevs behaviour"
241         depends CONFIG_MAKEDEVS
242         default CONFIG_FEATURE_MAKEDEVS_TABLE
243
244 config CONFIG_FEATURE_MAKEDEVS_LEAF
245         bool "leaf"
246
247 config CONFIG_FEATURE_MAKEDEVS_TABLE
248         bool "table"
249
250 endchoice
251
252 config CONFIG_MOUNTPOINT
253         bool "mountpoint"
254         default n
255         help
256           mountpoint checks if the directory is a mountpoint.
257
258 config CONFIG_MT
259         bool "mt"
260         default n
261         help
262           mt is used to control tape devices.  You can use the mt utility
263           to advance or rewind a tape past a specified number of archive
264           files on the tape.
265
266 config CONFIG_RUNLEVEL
267         bool "runlevel"
268         default n
269         help
270           find the current and previous system runlevel.
271
272           This applet uses utmp but does not rely on busybox supporing
273           utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
274
275 config CONFIG_RX
276         bool "rx"
277         default n
278         help
279           Receive files using the Xmodem protocol.
280
281 config CONFIG_STRINGS
282         bool "strings"
283         default n
284         help
285           strings prints the printable character sequences for each file
286           specified.
287
288 config CONFIG_SETSID
289         bool "setsid"
290         default n
291         help
292           setsid runs a program in a new session
293
294 config CONFIG_TIME
295         bool "time"
296         default n
297         help
298           The time command runs the specified program with the given arguments.
299           When the command finishes, time writes a message to standard output
300           giving timing statistics about this program run.
301
302 config CONFIG_WATCHDOG
303         bool "watchdog"
304         default n
305         help
306           The watchdog utility is used with hardware or software watchdog
307           device drivers.  It opens the specified watchdog device special file
308           and periodically writes a magic character to the device.  If the
309           watchdog applet ever fails to write the magic character within a
310           certain amount of time, the watchdog device assumes the system has
311           hung, and will cause the hardware to reboot.
312
313 endmenu
314