finally move buildroot-ng to trunk
[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         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 BUSYBOX_CONFIG_DEBUG_CROND_OPTION
38         bool "Support debug option -d"
39         depends on BUSYBOX_CONFIG_CROND
40         default n
41         help
42           Support option -d to enter debug mode.
43
44 config BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL
45         bool "Using /usr/sbin/sendmail?"
46         default n
47         depends on BUSYBOX_CONFIG_CROND
48         help
49           Support calling /usr/sbin/sendmail for send cmd outputs.
50
51 config BUSYBOX_CONFIG_CRONTAB
52         bool "crontab"
53         default y
54         select BUSYBOX_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 BUSYBOX_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 BUSYBOX_CONFIG_DEVFSD
67         bool "devfsd (obsolete)"
68         default n
69         help
70           This is deprecated, and will be going away in a future release.
71
72           Provides compatibility with old device names on a devfs systems.
73           You should set it to true if you have devfs enabled.
74           The following keywords in devsfd.conf are supported:
75           "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
76           "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
77           "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
78
79            But only if they are written UPPERCASE!!!!!!!!
80
81 config BUSYBOX_CONFIG_DEVFSD_MODLOAD
82         bool "Adds support for MODLOAD keyword in devsfd.conf"
83         default n
84         depends on BUSYBOX_CONFIG_DEVFSD
85         help
86           This actually doesn't work with busybox modutils but needs
87           the external modutils.
88
89 config BUSYBOX_CONFIG_DEVFSD_FG_NP
90         bool "Enables the -fg and -np options"
91         default n
92         depends on BUSYBOX_CONFIG_DEVFSD
93         help
94                 -fg     Run the daemon in the foreground.
95                 -np     Exit  after  parsing  the configuration file. Do not poll for events.
96
97 config BUSYBOX_CONFIG_DEVFSD_VERBOSE
98         bool "Increases logging (and size)"
99         default n
100         depends on BUSYBOX_CONFIG_DEVFSD
101         help
102           Increases logging to stderr or syslog.
103
104 config BUSYBOX_CONFIG_FEATURE_DEVFS
105         bool "  Use devfs names for all devices (obsolete)"
106         default y
107         help
108           This tells busybox to look for names like /dev/loop/0 instead of
109           /dev/loop0.  If your /dev directory has normal names instead of
110           devfs names, you don't want this.
111
112           This is obsolete and will be going away someday.  Consider it
113           deprecated.
114
115 config BUSYBOX_CONFIG_EJECT
116         bool "eject"
117         default n
118         help
119           Used to eject cdroms.  (defaults to /dev/cdrom)
120
121 config BUSYBOX_CONFIG_LAST
122         bool "last"
123         default n
124         select BUSYBOX_CONFIG_FEATURE_WTMP
125         help
126           'last' displays a list of the last users that logged into the system.
127
128 config BUSYBOX_CONFIG_LESS
129         bool "less"
130         default y
131         help
132           'less' is a pager, meaning that it displays text files. It possesses
133           a wide array of features, and is an improvement over 'more'.
134
135 config BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS
136         bool "Enable bracket searching"
137         default n
138         depends on BUSYBOX_CONFIG_LESS
139         help
140           This option adds the capability to search for matching left and right
141           brackets, facilitating programming.
142
143 config BUSYBOX_CONFIG_FEATURE_LESS_FLAGS
144         bool "Enable extra flags"
145         default n
146         depends on BUSYBOX_CONFIG_LESS
147         help
148           The extra flags provided do the following:
149
150           The -M flag enables a more sophisticated status line.
151           The -m flag enables a simpler status line with a percentage.
152
153 config BUSYBOX_CONFIG_FEATURE_LESS_FLAGCS
154         bool "Enable flag changes"
155         default n
156         depends on BUSYBOX_CONFIG_LESS
157         help
158           This enables the ability to change command-line flags within
159           less itself.
160
161 config BUSYBOX_CONFIG_FEATURE_LESS_MARKS
162         bool "Enable marks"
163         default n
164         depends on BUSYBOX_CONFIG_LESS
165         help
166           Marks enable positions in a file to be stored for easy reference.
167
168 config BUSYBOX_CONFIG_FEATURE_LESS_REGEXP
169         bool "Enable regular expressions"
170         default n
171         depends on BUSYBOX_CONFIG_LESS
172         help
173           Enable regular expressions, allowing complex file searches.
174
175 config BUSYBOX_CONFIG_HDPARM
176         bool "hdparm"
177         default n
178         help
179           Get/Set hard drive parameters.  Primarily intended for ATA
180           drives.  Adds about 13k (or around 30k if you enable the
181           BUSYBOX_CONFIG_FEATURE_HDPARM_GET_IDENTITY option)....
182
183 config BUSYBOX_CONFIG_FEATURE_HDPARM_GET_IDENTITY
184         bool "Support obtaining detailed information directly from drives"
185         default n
186         depends on BUSYBOX_CONFIG_HDPARM
187         help
188           Enables the -I and -i options to obtain detailed information
189           directly from drives about their capabilities and supported ATA
190           feature set. If no device name is specified, hdparm will read
191           identify data from stdin. Enabling this option will add about 16k...
192
193 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
194         bool "Register an IDE interface (DANGEROUS)"
195         default n
196         depends on BUSYBOX_CONFIG_HDPARM
197         help
198           Enables the 'hdparm -R' option to register an IDE interface.
199           This is dangerous stuff, so you should probably say N.
200
201 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
202         bool "Un-register an IDE interface (DANGEROUS)"
203         default n
204         depends on BUSYBOX_CONFIG_HDPARM
205         help
206           Enables the 'hdparm -U' option to un-register an IDE interface.
207           This is dangerous stuff, so you should probably say N.
208
209 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
210         bool "perform device reset (DANGEROUS)"
211         default n
212         depends on BUSYBOX_CONFIG_HDPARM
213         help
214           Enables the 'hdparm -w' option to perform a device reset.
215           This is dangerous stuff, so you should probably say N.
216
217 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
218         bool "tristate device for hotswap (DANGEROUS)"
219         default n
220         depends on BUSYBOX_CONFIG_HDPARM
221         help
222           Enables the 'hdparm -x' option to tristate device for hotswap,
223           and the '-b' option to get/set bus state.  This is dangerous
224           stuff, so you should probably say N.
225
226 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
227         bool "get/set using_dma flag (DANGEROUS)"
228         default n
229         depends on BUSYBOX_CONFIG_HDPARM
230         help
231           Enables the 'hdparm -d' option to get/set using_dma flag.
232           This is dangerous stuff, so you should probably say N.
233
234 config BUSYBOX_CONFIG_LOCK
235         bool "lock"
236         default y
237         help
238           Small utility for using locks in scripts
239
240 config BUSYBOX_CONFIG_MAKEDEVS
241         bool "makedevs"
242         default n
243         help
244           'makedevs' is a utility used to create a batch of devices with
245           one command.
246           .
247           There are two choices for command line behaviour, the interface
248           as used by LEAF/Linux Router Project, or a device table file.
249           .
250           'leaf' is traditionally what busybox follows, it allows multiple
251           devices of a particluar type to be created per command.
252           e.g. /dev/hda[0-9]
253           Device properties are passed as command line arguments.
254           .
255           'table' reads device properties from a file or stdin, allowing
256           a batch of unrelated devices to be made with one command.
257           User/group names are allowed as an alternative to uid/gid.
258
259 choice
260         prompt "Choose makedevs behaviour"
261         depends BUSYBOX_CONFIG_MAKEDEVS
262         default BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
263
264 config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_LEAF
265         bool "leaf"
266
267 config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
268         bool "table"
269
270 endchoice
271
272 config BUSYBOX_CONFIG_MOUNTPOINT
273         bool "mountpoint"
274         default n
275         help
276           mountpoint checks if the directory is a mountpoint.
277
278 config BUSYBOX_CONFIG_MT
279         bool "mt"
280         default n
281         help
282           mt is used to control tape devices.  You can use the mt utility
283           to advance or rewind a tape past a specified number of archive
284           files on the tape.
285
286 config BUSYBOX_CONFIG_RUNLEVEL
287         bool "runlevel"
288         default n
289         help
290           find the current and previous system runlevel.
291
292           This applet uses utmp but does not rely on busybox supporing
293           utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
294
295 config BUSYBOX_CONFIG_RX
296         bool "rx"
297         default n
298         help
299           Receive files using the Xmodem protocol.
300
301 config BUSYBOX_CONFIG_STRINGS
302         bool "strings"
303         default y
304         help
305           strings prints the printable character sequences for each file
306           specified.
307
308 config BUSYBOX_CONFIG_SETSID
309         bool "setsid"
310         default n
311         help
312           setsid runs a program in a new session
313
314 config BUSYBOX_CONFIG_TASKSET
315         bool "taskset"
316         default n
317         help
318           Retrieve or set a processes's CPU affinity
319
320 config BUSYBOX_CONFIG_TASKSET
321         bool "taskset"
322         default n
323         help
324           Retrieve or set a processes's CPU affinity (on linux)
325
326 config BUSYBOX_CONFIG_TIME
327         bool "time"
328         default y
329         help
330           The time command runs the specified program with the given arguments.
331           When the command finishes, time writes a message to standard output
332           giving timing statistics about this program run.
333
334 config BUSYBOX_CONFIG_WATCHDOG
335         bool "watchdog"
336         default y
337         help
338           The watchdog utility is used with hardware or software watchdog
339           device drivers.  It opens the specified watchdog device special file
340           and periodically writes a magic character to the device.  If the
341           watchdog applet ever fails to write the magic character within a
342           certain amount of time, the watchdog device assumes the system has
343           hung, and will cause the hardware to reboot.
344
345 endmenu
346