sulogin: fix bug: -tNNN didn't work
[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 (obsolete)"
68         default n
69         help
70           This is deprecated, and will be removed at the end of 2008.
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 CONFIG_DEVFSD_MODLOAD
82         bool "Adds support for MODLOAD keyword in devsfd.conf"
83         default n
84         depends on CONFIG_DEVFSD
85         help
86           This actually doesn't work with busybox modutils but needs
87           the external modutils.
88
89 config CONFIG_DEVFSD_FG_NP
90         bool "Enables the -fg and -np options"
91         default n
92         depends on 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 CONFIG_DEVFSD_VERBOSE
98         bool "Increases logging (and size)"
99         default n
100         depends on CONFIG_DEVFSD
101         help
102           Increases logging to stderr or syslog.
103
104 config CONFIG_FEATURE_DEVFS
105         bool "  Use devfs names for all devices (obsolete)"
106         default n
107         help
108           This is obsolete and will be going away at the end of 2008..
109
110           This tells busybox to look for names like /dev/loop/0 instead of
111           /dev/loop0.  If your /dev directory has normal names instead of
112           devfs names, you don't want this.
113
114 config CONFIG_EJECT
115         bool "eject"
116         default n
117         help
118           Used to eject cdroms.  (defaults to /dev/cdrom)
119
120 config CONFIG_LAST
121         bool "last"
122         default n
123         select CONFIG_FEATURE_WTMP
124         help
125           'last' displays a list of the last users that logged into the system.
126
127 config CONFIG_LESS
128         bool "less"
129         default n
130         help
131           'less' is a pager, meaning that it displays text files. It possesses
132           a wide array of features, and is an improvement over 'more'.
133
134 config CONFIG_FEATURE_LESS_BRACKETS
135         bool "Enable bracket searching"
136         default y
137         depends on CONFIG_LESS
138         help
139           This option adds the capability to search for matching left and right
140           brackets, facilitating programming.
141
142 config CONFIG_FEATURE_LESS_FLAGS
143         bool "Enable extra flags"
144         default y
145         depends on CONFIG_LESS
146         help
147           The extra flags provided do the following:
148
149           The -M flag enables a more sophisticated status line.
150           The -m flag enables a simpler status line with a percentage.
151
152 config CONFIG_FEATURE_LESS_FLAGCS
153         bool "Enable flag changes"
154         default n
155         depends on CONFIG_LESS
156         help
157           This enables the ability to change command-line flags within
158           less itself.
159
160 config CONFIG_FEATURE_LESS_MARKS
161         bool "Enable marks"
162         default n
163         depends on CONFIG_LESS
164         help
165           Marks enable positions in a file to be stored for easy reference.
166
167 config CONFIG_FEATURE_LESS_REGEXP
168         bool "Enable regular expressions"
169         default n
170         depends on CONFIG_LESS
171         help
172           Enable regular expressions, allowing complex file searches.
173
174 config CONFIG_HDPARM
175         bool "hdparm"
176         default n
177         help
178           Get/Set hard drive parameters.  Primarily intended for ATA
179           drives.  Adds about 13k (or around 30k if you enable the
180           CONFIG_FEATURE_HDPARM_GET_IDENTITY option)....
181
182 config CONFIG_FEATURE_HDPARM_GET_IDENTITY
183         bool "Support obtaining detailed information directly from drives"
184         default y
185         depends on CONFIG_HDPARM
186         help
187           Enables the -I and -i options to obtain detailed information
188           directly from drives about their capabilities and supported ATA
189           feature set. If no device name is specified, hdparm will read
190           identify data from stdin. Enabling this option will add about 16k...
191
192 config CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
193         bool "Register an IDE interface (DANGEROUS)"
194         default n
195         depends on CONFIG_HDPARM
196         help
197           Enables the 'hdparm -R' option to register an IDE interface.
198           This is dangerous stuff, so you should probably say N.
199
200 config CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
201         bool "Un-register an IDE interface (DANGEROUS)"
202         default n
203         depends on CONFIG_HDPARM
204         help
205           Enables the 'hdparm -U' option to un-register an IDE interface.
206           This is dangerous stuff, so you should probably say N.
207
208 config CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
209         bool "perform device reset (DANGEROUS)"
210         default n
211         depends on CONFIG_HDPARM
212         help
213           Enables the 'hdparm -w' option to perform a device reset.
214           This is dangerous stuff, so you should probably say N.
215
216 config CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
217         bool "tristate device for hotswap (DANGEROUS)"
218         default n
219         depends on CONFIG_HDPARM
220         help
221           Enables the 'hdparm -x' option to tristate device for hotswap,
222           and the '-b' option to get/set bus state.  This is dangerous
223           stuff, so you should probably say N.
224
225 config CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
226         bool "get/set using_dma flag (DANGEROUS)"
227         default n
228         depends on CONFIG_HDPARM
229         help
230           Enables the 'hdparm -d' option to get/set using_dma flag.
231           This is dangerous stuff, so you should probably say N.
232
233 config CONFIG_MAKEDEVS
234         bool "makedevs"
235         default n
236         help
237           'makedevs' is a utility used to create a batch of devices with
238           one command.
239           .
240           There are two choices for command line behaviour, the interface
241           as used by LEAF/Linux Router Project, or a device table file.
242           .
243           'leaf' is traditionally what busybox follows, it allows multiple
244           devices of a particluar type to be created per command.
245           e.g. /dev/hda[0-9]
246           Device properties are passed as command line arguments.
247           .
248           'table' reads device properties from a file or stdin, allowing
249           a batch of unrelated devices to be made with one command.
250           User/group names are allowed as an alternative to uid/gid.
251
252 choice
253         prompt "Choose makedevs behaviour"
254         depends CONFIG_MAKEDEVS
255         default CONFIG_FEATURE_MAKEDEVS_TABLE
256
257 config CONFIG_FEATURE_MAKEDEVS_LEAF
258         bool "leaf"
259
260 config CONFIG_FEATURE_MAKEDEVS_TABLE
261         bool "table"
262
263 endchoice
264
265 config CONFIG_MOUNTPOINT
266         bool "mountpoint"
267         default n
268         help
269           mountpoint checks if the directory is a mountpoint.
270
271 config CONFIG_MT
272         bool "mt"
273         default n
274         help
275           mt is used to control tape devices.  You can use the mt utility
276           to advance or rewind a tape past a specified number of archive
277           files on the tape.
278
279 config CONFIG_READAHEAD
280         bool "readahead"
281         default n
282         help
283           Preload the files listed on the command line into RAM cache so that
284           subsequent reads on these files will not block on disk I/O.
285
286           This applet just calls the readahead(2) system call on each file.
287           It is mainly useful in system startup scripts to preload files
288           or executables before they are used.  When used at the right time
289           (in particular when a CPU boundprocess is running) it can
290           significantly speed up system startup.
291
292           As readahead(2) blocks until each file has been read, it is best to
293           run this applet as a background job. 
294
295 config CONFIG_RUNLEVEL
296         bool "runlevel"
297         default n
298         help
299           find the current and previous system runlevel.
300
301           This applet uses utmp but does not rely on busybox supporing
302           utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
303
304 config CONFIG_RX
305         bool "rx"
306         default n
307         help
308           Receive files using the Xmodem protocol.
309
310 config CONFIG_STRINGS
311         bool "strings"
312         default n
313         help
314           strings prints the printable character sequences for each file
315           specified.
316
317 config CONFIG_SETSID
318         bool "setsid"
319         default n
320         help
321           setsid runs a program in a new session
322
323 config CONFIG_TASKSET
324         bool "taskset"
325         default n
326         help
327           Retrieve or set a processes's CPU affinity.
328
329 config CONFIG_TIME
330         bool "time"
331         default n
332         help
333           The time command runs the specified program with the given arguments.
334           When the command finishes, time writes a message to standard output
335           giving timing statistics about this program run.
336
337 config CONFIG_WATCHDOG
338         bool "watchdog"
339         default n
340         help
341           The watchdog utility is used with hardware or software watchdog
342           device drivers.  It opens the specified watchdog device special file
343           and periodically writes a magic character to the device.  If the
344           watchdog applet ever fails to write the magic character within a
345           certain amount of time, the watchdog device assumes the system has
346           hung, and will cause the hardware to reboot.
347
348 endmenu
349