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