3b2f76c79a7544c4e72025100da890f841c7183a
[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_CROND
16         bool "crond"
17         default n
18         select CONFIG_FEATURE_SUID
19         help
20           Crond is a background daemon that parses individual crontab
21           files and executes commands on behalf of the users in question.
22           This is a port of dcron from slackware.  It uses files of the
23           format /var/spool/cron/crontabs/<username> files, for example:
24               $ cat /var/spool/cron/crontabs/root
25               # Run daily cron jobs at 4:40 every day:
26               40 4 * * * /etc/cron/daily > /dev/null 2>&1
27           Note that Busybox binary must be setuid root for this applet to
28           work properly.
29
30 config CONFIG_FEATURE_CROND_CALL_SENDMAIL
31         bool "  Using /usr/sbin/sendmail?"
32         default n
33         depends on CONFIG_CROND
34         help
35           Support calling /usr/sbin/sendmail for send cmd outputs.
36
37 config CONFIG_CRONTAB
38         bool "crontab"
39         default n
40         help
41           Crontab manipulates the crontab for a particular user.  Only
42           the superuser may specify a different user and/or crontab directory.
43
44 config CONFIG_DC
45         bool "dc"
46         default n
47         help
48           Dc is a reverse-polish desk calculator which supports unlimited
49           precision arithmetic.
50
51 config CONFIG_DEVFSD
52         bool "devfsd"
53         default n
54         help
55           Provides compatibility with old device names on a devfs systems.
56           You should set it to true if you have devfs enabled.
57           The following keywords in devsfd.conf are supported:
58           "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
59           "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
60           "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
61
62            But only if they are written UPPERCASE!!!!!!!!
63
64 config CONFIG_DEVFSD_MODLOAD
65         bool "Adds support for MODLOAD keyword in devsfd.conf"
66         default n
67         depends on CONFIG_DEVFSD
68         help
69           This actually doesn't work with busybox  modutils but needs the real modutils.
70
71 config CONFIG_DEVFSD_FG_NP
72         bool "Enables the -fg and -np options"
73         default n
74         depends on CONFIG_DEVFSD
75         help
76                 -fg     Run the daemon in the foreground.
77                 -np     Exit  after  parsing  the configuration file. Do not poll for events.
78
79 config CONFIG_DEVFSD_VERBOSE
80         bool "Increases logging (and size)"
81         default n
82         depends on CONFIG_DEVFSD
83         help
84           Increases logging to stderr or syslog.
85
86 config CONFIG_EJECT
87         bool "eject"
88         default n
89         help
90           Used to eject cdroms.  (defaults to /dev/cdrom)
91
92 config CONFIG_LAST
93         bool "last"
94         default n
95         select CONFIG_FEATURE_U_W_TMP
96         help
97           'last' displays a list of the last users that logged into the system.
98
99 config CONFIG_HDPARM
100         bool "hdparm"
101         default n
102         help
103           Get/Set hard drive parameters.  Primarily intended for ATA
104           drives.  Adds about 13k (or around 30k if you enable the
105           CONFIG_FEATURE_HDPARM_GET_IDENTITY option)....
106
107 config CONFIG_FEATURE_HDPARM_GET_IDENTITY
108         bool "  Support obtaining detailed information directly from drives"
109         default y
110         depends on CONFIG_HDPARM
111         help
112           Enables the -I and -Istdin options to obtain detailed information
113           directly from drives about their capabilities and supported ATA
114           feature set.  Enabling this option will add about 16k...
115
116 config CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
117         bool "  Register an IDE interface (DANGEROUS)"
118         default n
119         depends on CONFIG_HDPARM
120         help
121           Enables the 'hdparm -R' option to register an IDE interface.
122           This is dangerous stuff, so you should probably say N.
123
124 config CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
125         bool "  Un-register an IDE interface (DANGEROUS)"
126         default n
127         depends on CONFIG_HDPARM
128         help
129           Enables the 'hdparm -U' option to un-register an IDE interface.
130           This is dangerous stuff, so you should probably say N.
131
132 config CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
133         bool "  perform device reset (DANGEROUS)"
134         default n
135         depends on CONFIG_HDPARM
136         help
137           Enables the 'hdparm -w' option to perform a device reset.
138           This is dangerous stuff, so you should probably say N.
139
140 config CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
141         bool "  tristate device for hotswap (DANGEROUS)"
142         default n
143         depends on CONFIG_HDPARM
144         help
145           Enables the 'hdparm -x' option to tristate device for hotswap,
146           and the '-b' option to get/set bus state.  This is dangerous
147           stuff, so you should probably say N.
148
149 config CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
150         bool "  get/set using_dma flag (DANGEROUS)"
151         default n
152         depends on CONFIG_HDPARM
153         help
154           Enables the 'hdparm -d' option to get/set using_dma flag.
155           This is dangerous stuff, so you should probably say N.
156
157 config CONFIG_MAKEDEVS
158         bool "makedevs"
159         default n
160         help
161           'makedevs' is a utility used to create a batch of devices with
162           one command.
163           .
164           There are two choices for command line behaviour, the interface
165           as used by LEAF/Linux Router Project, or a device table file.
166           . 
167           'leaf' is traditionally what busybox follows, it allows multiple
168           devices of a particluar type to be created per command.
169           e.g. /dev/hda[0-9]
170           Device properties are passed as command line arguments.
171           .
172           'table' reads device properties from a file or stdin, allowing
173           a batch of unrelated devices to be makde with one command. 
174           User/group names are allowed as an alternative to uid/gid.
175
176 choice
177         prompt "Choose makedevs behaviour"
178         default CONFIG_FEATURE_MAKDEVS_TABLE
179
180 config CONFIG_FEATURE_MAKEDEVS_LEAF
181         bool "leaf"
182
183 config CONFIG_FEATURE_MAKEDEVS_TABLE
184         bool "table"
185
186 endchoice
187
188 config CONFIG_MT
189         bool "mt"
190         default n
191         help
192           mt is used to control tape devices.  You can use the mt utility
193           to advance or rewind a tape past a specified number of archive
194           files on the tape.
195
196 config CONFIG_RX
197         bool "rx"
198         default n
199         help
200           Receive files using the Xmodem protocol.
201
202 config CONFIG_STRINGS
203         bool "strings"
204         default n
205         help
206           strings prints the printable character sequences for each file
207           specified.
208
209 config CONFIG_TIME
210         bool "time"
211         default n
212         help
213           The time command runs the specified program with the given arguments.
214           When the command finishes, time writes a message to standard output
215           giving timing statistics about this program run.
216
217 config CONFIG_WATCHDOG
218         bool "watchdog"
219         default n
220         help
221           The watchdog utility is used with hardware or software watchdog
222           device drivers.  It opens the specified watchdog device special file
223           and periodically writes a magic character to the device.  If the
224           watchdog applet ever fails to write the magic character within a
225           certain amount of time, the watchdog device assumes the system has
226           hung, and will cause the hardware to reboot.
227
228 endmenu
229