[20] | 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 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 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 CHRT |
---|
| 23 | bool "chrt" |
---|
| 24 | default n |
---|
| 25 | help |
---|
| 26 | manipulate real-time attributes of a process. |
---|
| 27 | This requires sched_{g,s}etparam support in your libc. |
---|
| 28 | |
---|
| 29 | config CROND |
---|
| 30 | bool "crond" |
---|
| 31 | default n |
---|
| 32 | select FEATURE_SUID |
---|
| 33 | select FEATURE_SYSLOG |
---|
| 34 | help |
---|
| 35 | Crond is a background daemon that parses individual crontab |
---|
| 36 | files and executes commands on behalf of the users in question. |
---|
| 37 | This is a port of dcron from slackware. It uses files of the |
---|
| 38 | format /var/spool/cron/crontabs/<username> files, for example: |
---|
| 39 | $ cat /var/spool/cron/crontabs/root |
---|
| 40 | # Run daily cron jobs at 4:40 every day: |
---|
| 41 | 40 4 * * * /etc/cron/daily > /dev/null 2>&1 |
---|
| 42 | Note that Busybox binary must be setuid root for this applet to |
---|
| 43 | work properly. |
---|
| 44 | |
---|
| 45 | config DEBUG_CROND_OPTION |
---|
| 46 | bool "Support debug option -d" |
---|
| 47 | depends on CROND |
---|
| 48 | default n |
---|
| 49 | help |
---|
| 50 | Support option -d to enter debug mode. |
---|
| 51 | |
---|
| 52 | config FEATURE_CROND_CALL_SENDMAIL |
---|
| 53 | bool "Using /usr/sbin/sendmail?" |
---|
| 54 | default n |
---|
| 55 | depends on CROND |
---|
| 56 | help |
---|
| 57 | Support calling /usr/sbin/sendmail for send cmd outputs. |
---|
| 58 | |
---|
| 59 | config CRONTAB |
---|
| 60 | bool "crontab" |
---|
| 61 | default n |
---|
| 62 | select FEATURE_SUID |
---|
| 63 | help |
---|
| 64 | Crontab manipulates the crontab for a particular user. Only |
---|
| 65 | the superuser may specify a different user and/or crontab directory. |
---|
| 66 | |
---|
| 67 | config DC |
---|
| 68 | bool "dc" |
---|
| 69 | default n |
---|
| 70 | help |
---|
| 71 | Dc is a reverse-polish desk calculator which supports unlimited |
---|
| 72 | precision arithmetic. |
---|
| 73 | |
---|
| 74 | config DEVFSD |
---|
| 75 | bool "devfsd (obsolete)" |
---|
| 76 | default n |
---|
| 77 | select FEATURE_SYSLOG |
---|
| 78 | help |
---|
| 79 | This is deprecated, and will be removed at the end of 2008. |
---|
| 80 | |
---|
| 81 | Provides compatibility with old device names on a devfs systems. |
---|
| 82 | You should set it to true if you have devfs enabled. |
---|
| 83 | The following keywords in devsfd.conf are supported: |
---|
| 84 | "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE", |
---|
| 85 | "PERMISSIONS", "EXECUTE", "COPY", "IGNORE", |
---|
| 86 | "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT". |
---|
| 87 | |
---|
| 88 | But only if they are written UPPERCASE!!!!!!!! |
---|
| 89 | |
---|
| 90 | config DEVFSD_MODLOAD |
---|
| 91 | bool "Adds support for MODLOAD keyword in devsfd.conf" |
---|
| 92 | default n |
---|
| 93 | depends on DEVFSD |
---|
| 94 | help |
---|
| 95 | This actually doesn't work with busybox modutils but needs |
---|
| 96 | the external modutils. |
---|
| 97 | |
---|
| 98 | config DEVFSD_FG_NP |
---|
| 99 | bool "Enables the -fg and -np options" |
---|
| 100 | default n |
---|
| 101 | depends on DEVFSD |
---|
| 102 | help |
---|
| 103 | -fg Run the daemon in the foreground. |
---|
| 104 | -np Exit after parsing the configuration file. Do not poll for events. |
---|
| 105 | |
---|
| 106 | config DEVFSD_VERBOSE |
---|
| 107 | bool "Increases logging (and size)" |
---|
| 108 | default n |
---|
| 109 | depends on DEVFSD |
---|
| 110 | help |
---|
| 111 | Increases logging to stderr or syslog. |
---|
| 112 | |
---|
| 113 | config FEATURE_DEVFS |
---|
| 114 | bool " Use devfs names for all devices (obsolete)" |
---|
| 115 | default n |
---|
| 116 | help |
---|
| 117 | This is obsolete and will be going away at the end of 2008.. |
---|
| 118 | |
---|
| 119 | This tells busybox to look for names like /dev/loop/0 instead of |
---|
| 120 | /dev/loop0. If your /dev directory has normal names instead of |
---|
| 121 | devfs names, you don't want this. |
---|
| 122 | |
---|
| 123 | config EJECT |
---|
| 124 | bool "eject" |
---|
| 125 | default n |
---|
| 126 | help |
---|
| 127 | Used to eject cdroms. (defaults to /dev/cdrom) |
---|
| 128 | |
---|
| 129 | config LAST |
---|
| 130 | bool "last" |
---|
| 131 | default n |
---|
| 132 | select FEATURE_WTMP |
---|
| 133 | help |
---|
| 134 | 'last' displays a list of the last users that logged into the system. |
---|
| 135 | |
---|
| 136 | config LESS |
---|
| 137 | bool "less" |
---|
| 138 | default n |
---|
| 139 | help |
---|
| 140 | 'less' is a pager, meaning that it displays text files. It possesses |
---|
| 141 | a wide array of features, and is an improvement over 'more'. |
---|
| 142 | |
---|
| 143 | config FEATURE_LESS_MAXLINES |
---|
| 144 | int "Max number of input lines less will try to eat" |
---|
| 145 | default 9999999 |
---|
| 146 | depends on LESS |
---|
| 147 | |
---|
| 148 | config FEATURE_LESS_BRACKETS |
---|
| 149 | bool "Enable bracket searching" |
---|
| 150 | default y |
---|
| 151 | depends on LESS |
---|
| 152 | help |
---|
| 153 | This option adds the capability to search for matching left and right |
---|
| 154 | brackets, facilitating programming. |
---|
| 155 | |
---|
| 156 | config FEATURE_LESS_FLAGS |
---|
| 157 | bool "Enable extra flags" |
---|
| 158 | default y |
---|
| 159 | depends on LESS |
---|
| 160 | help |
---|
| 161 | The extra flags provided do the following: |
---|
| 162 | |
---|
| 163 | The -M flag enables a more sophisticated status line. |
---|
| 164 | The -m flag enables a simpler status line with a percentage. |
---|
| 165 | |
---|
| 166 | config FEATURE_LESS_FLAGCS |
---|
| 167 | bool "Enable flag changes" |
---|
| 168 | default n |
---|
| 169 | depends on LESS |
---|
| 170 | help |
---|
| 171 | This enables the ability to change command-line flags within |
---|
| 172 | less itself. |
---|
| 173 | |
---|
| 174 | config FEATURE_LESS_MARKS |
---|
| 175 | bool "Enable marks" |
---|
| 176 | default n |
---|
| 177 | depends on LESS |
---|
| 178 | help |
---|
| 179 | Marks enable positions in a file to be stored for easy reference. |
---|
| 180 | |
---|
| 181 | config FEATURE_LESS_REGEXP |
---|
| 182 | bool "Enable regular expressions" |
---|
| 183 | default n |
---|
| 184 | depends on LESS |
---|
| 185 | help |
---|
| 186 | Enable regular expressions, allowing complex file searches. |
---|
| 187 | |
---|
| 188 | config HDPARM |
---|
| 189 | bool "hdparm" |
---|
| 190 | default n |
---|
| 191 | help |
---|
| 192 | Get/Set hard drive parameters. Primarily intended for ATA |
---|
| 193 | drives. Adds about 13k (or around 30k if you enable the |
---|
| 194 | FEATURE_HDPARM_GET_IDENTITY option).... |
---|
| 195 | |
---|
| 196 | config FEATURE_HDPARM_GET_IDENTITY |
---|
| 197 | bool "Support obtaining detailed information directly from drives" |
---|
| 198 | default y |
---|
| 199 | depends on HDPARM |
---|
| 200 | help |
---|
| 201 | Enables the -I and -i options to obtain detailed information |
---|
| 202 | directly from drives about their capabilities and supported ATA |
---|
| 203 | feature set. If no device name is specified, hdparm will read |
---|
| 204 | identify data from stdin. Enabling this option will add about 16k... |
---|
| 205 | |
---|
| 206 | config FEATURE_HDPARM_HDIO_SCAN_HWIF |
---|
| 207 | bool "Register an IDE interface (DANGEROUS)" |
---|
| 208 | default n |
---|
| 209 | depends on HDPARM |
---|
| 210 | help |
---|
| 211 | Enables the 'hdparm -R' option to register an IDE interface. |
---|
| 212 | This is dangerous stuff, so you should probably say N. |
---|
| 213 | |
---|
| 214 | config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF |
---|
| 215 | bool "Un-register an IDE interface (DANGEROUS)" |
---|
| 216 | default n |
---|
| 217 | depends on HDPARM |
---|
| 218 | help |
---|
| 219 | Enables the 'hdparm -U' option to un-register an IDE interface. |
---|
| 220 | This is dangerous stuff, so you should probably say N. |
---|
| 221 | |
---|
| 222 | config FEATURE_HDPARM_HDIO_DRIVE_RESET |
---|
| 223 | bool "perform device reset (DANGEROUS)" |
---|
| 224 | default n |
---|
| 225 | depends on HDPARM |
---|
| 226 | help |
---|
| 227 | Enables the 'hdparm -w' option to perform a device reset. |
---|
| 228 | This is dangerous stuff, so you should probably say N. |
---|
| 229 | |
---|
| 230 | config FEATURE_HDPARM_HDIO_TRISTATE_HWIF |
---|
| 231 | bool "tristate device for hotswap (DANGEROUS)" |
---|
| 232 | default n |
---|
| 233 | depends on HDPARM |
---|
| 234 | help |
---|
| 235 | Enables the 'hdparm -x' option to tristate device for hotswap, |
---|
| 236 | and the '-b' option to get/set bus state. This is dangerous |
---|
| 237 | stuff, so you should probably say N. |
---|
| 238 | |
---|
| 239 | config FEATURE_HDPARM_HDIO_GETSET_DMA |
---|
| 240 | bool "get/set using_dma flag (DANGEROUS)" |
---|
| 241 | default n |
---|
| 242 | depends on HDPARM |
---|
| 243 | help |
---|
| 244 | Enables the 'hdparm -d' option to get/set using_dma flag. |
---|
| 245 | This is dangerous stuff, so you should probably say N. |
---|
| 246 | |
---|
| 247 | config MAKEDEVS |
---|
| 248 | bool "makedevs" |
---|
| 249 | default n |
---|
| 250 | help |
---|
| 251 | 'makedevs' is a utility used to create a batch of devices with |
---|
| 252 | one command. |
---|
| 253 | . |
---|
| 254 | There are two choices for command line behaviour, the interface |
---|
| 255 | as used by LEAF/Linux Router Project, or a device table file. |
---|
| 256 | . |
---|
| 257 | 'leaf' is traditionally what busybox follows, it allows multiple |
---|
| 258 | devices of a particluar type to be created per command. |
---|
| 259 | e.g. /dev/hda[0-9] |
---|
| 260 | Device properties are passed as command line arguments. |
---|
| 261 | . |
---|
| 262 | 'table' reads device properties from a file or stdin, allowing |
---|
| 263 | a batch of unrelated devices to be made with one command. |
---|
| 264 | User/group names are allowed as an alternative to uid/gid. |
---|
| 265 | |
---|
| 266 | choice |
---|
| 267 | prompt "Choose makedevs behaviour" |
---|
| 268 | depends on MAKEDEVS |
---|
| 269 | default FEATURE_MAKEDEVS_TABLE |
---|
| 270 | |
---|
| 271 | config FEATURE_MAKEDEVS_LEAF |
---|
| 272 | bool "leaf" |
---|
| 273 | |
---|
| 274 | config FEATURE_MAKEDEVS_TABLE |
---|
| 275 | bool "table" |
---|
| 276 | |
---|
| 277 | endchoice |
---|
| 278 | |
---|
| 279 | config MOUNTPOINT |
---|
| 280 | bool "mountpoint" |
---|
| 281 | default n |
---|
| 282 | help |
---|
| 283 | mountpoint checks if the directory is a mountpoint. |
---|
| 284 | |
---|
| 285 | config MT |
---|
| 286 | bool "mt" |
---|
| 287 | default n |
---|
| 288 | help |
---|
| 289 | mt is used to control tape devices. You can use the mt utility |
---|
| 290 | to advance or rewind a tape past a specified number of archive |
---|
| 291 | files on the tape. |
---|
| 292 | |
---|
| 293 | config RAIDAUTORUN |
---|
| 294 | bool "raidautorun" |
---|
| 295 | default n |
---|
| 296 | help |
---|
| 297 | raidautorun tells the kernel md driver to |
---|
| 298 | search and start RAID arrays. |
---|
| 299 | |
---|
| 300 | config READAHEAD |
---|
| 301 | bool "readahead" |
---|
| 302 | default n |
---|
| 303 | depends on LFS |
---|
| 304 | help |
---|
| 305 | Preload the files listed on the command line into RAM cache so that |
---|
| 306 | subsequent reads on these files will not block on disk I/O. |
---|
| 307 | |
---|
| 308 | This applet just calls the readahead(2) system call on each file. |
---|
| 309 | It is mainly useful in system startup scripts to preload files |
---|
| 310 | or executables before they are used. When used at the right time |
---|
| 311 | (in particular when a CPU boundprocess is running) it can |
---|
| 312 | significantly speed up system startup. |
---|
| 313 | |
---|
| 314 | As readahead(2) blocks until each file has been read, it is best to |
---|
| 315 | run this applet as a background job. |
---|
| 316 | |
---|
| 317 | config RUNLEVEL |
---|
| 318 | bool "runlevel" |
---|
| 319 | default n |
---|
| 320 | help |
---|
| 321 | find the current and previous system runlevel. |
---|
| 322 | |
---|
| 323 | This applet uses utmp but does not rely on busybox supporing |
---|
| 324 | utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc. |
---|
| 325 | |
---|
| 326 | config RX |
---|
| 327 | bool "rx" |
---|
| 328 | default n |
---|
| 329 | help |
---|
| 330 | Receive files using the Xmodem protocol. |
---|
| 331 | |
---|
| 332 | config STRINGS |
---|
| 333 | bool "strings" |
---|
| 334 | default n |
---|
| 335 | help |
---|
| 336 | strings prints the printable character sequences for each file |
---|
| 337 | specified. |
---|
| 338 | |
---|
| 339 | config SETSID |
---|
| 340 | bool "setsid" |
---|
| 341 | default n |
---|
| 342 | help |
---|
| 343 | setsid runs a program in a new session |
---|
| 344 | |
---|
| 345 | config TASKSET |
---|
| 346 | bool "taskset" |
---|
| 347 | default n |
---|
| 348 | help |
---|
| 349 | Retrieve or set a processes's CPU affinity. |
---|
| 350 | This requires sched_{g,s}etaffinity support in your libc. |
---|
| 351 | |
---|
| 352 | config FEATURE_TASKSET_FANCY |
---|
| 353 | bool "fancy output" |
---|
| 354 | default y |
---|
| 355 | depends on TASKSET |
---|
| 356 | help |
---|
| 357 | Add code for fancy output. This merely silences a compiler-warning |
---|
| 358 | and adds about 135 Bytes. May be needed for machines with alot |
---|
| 359 | of CPUs. |
---|
| 360 | |
---|
| 361 | config TIME |
---|
| 362 | bool "time" |
---|
| 363 | default n |
---|
| 364 | help |
---|
| 365 | The time command runs the specified program with the given arguments. |
---|
| 366 | When the command finishes, time writes a message to standard output |
---|
| 367 | giving timing statistics about this program run. |
---|
| 368 | |
---|
| 369 | config TTYSIZE |
---|
| 370 | bool "ttysize" |
---|
| 371 | default n |
---|
| 372 | help |
---|
| 373 | A replacement for "stty size". Unlike stty, can report only width, |
---|
| 374 | only height, or both, in any order. It also does not complain on error, |
---|
| 375 | but returns default 80x24. Usage in shell scripts: width=`ttysize w`. |
---|
| 376 | |
---|
| 377 | config WATCHDOG |
---|
| 378 | bool "watchdog" |
---|
| 379 | default n |
---|
| 380 | help |
---|
| 381 | The watchdog utility is used with hardware or software watchdog |
---|
| 382 | device drivers. It opens the specified watchdog device special file |
---|
| 383 | and periodically writes a magic character to the device. If the |
---|
| 384 | watchdog applet ever fails to write the magic character within a |
---|
| 385 | certain amount of time, the watchdog device assumes the system has |
---|
| 386 | hung, and will cause the hardware to reboot. |
---|
| 387 | |
---|
| 388 | endmenu |
---|
| 389 | |
---|