Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 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 |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 12 | Adjtimex reads and optionally sets adjustment parameters for |
| 13 | the Linux clock adjustment algorithm. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 14 | |
Mike Frysinger | 9ed1094 | 2005-09-18 04:43:32 +0000 | [diff] [blame] | 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 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 22 | config CONFIG_CROND |
| 23 | bool "crond" |
| 24 | default n |
Eric Andersen | 1387910 | 2004-08-26 23:13:00 +0000 | [diff] [blame] | 25 | select CONFIG_FEATURE_SUID |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 26 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 27 | Crond is a background daemon that parses individual crontab |
| 28 | files and executes commands on behalf of the users in question. |
Eric Andersen | 98e4eab | 2004-07-20 08:07:10 +0000 | [diff] [blame] | 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 |
Eric Andersen | 1387910 | 2004-08-26 23:13:00 +0000 | [diff] [blame] | 34 | Note that Busybox binary must be setuid root for this applet to |
| 35 | work properly. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 36 | |
Eric Andersen | 35e643b | 2003-07-28 07:40:39 +0000 | [diff] [blame] | 37 | config CONFIG_FEATURE_CROND_CALL_SENDMAIL |
| 38 | bool " Using /usr/sbin/sendmail?" |
| 39 | default n |
| 40 | depends on CONFIG_CROND |
| 41 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 42 | Support calling /usr/sbin/sendmail for send cmd outputs. |
Eric Andersen | 35e643b | 2003-07-28 07:40:39 +0000 | [diff] [blame] | 43 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 44 | config CONFIG_CRONTAB |
| 45 | bool "crontab" |
| 46 | default n |
Eric Andersen | 576db48 | 2005-06-23 18:58:57 +0000 | [diff] [blame] | 47 | select CONFIG_FEATURE_SUID |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 48 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 49 | Crontab manipulates the crontab for a particular user. Only |
| 50 | the superuser may specify a different user and/or crontab directory. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 51 | |
| 52 | config CONFIG_DC |
| 53 | bool "dc" |
| 54 | default n |
| 55 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 56 | Dc is a reverse-polish desk calculator which supports unlimited |
| 57 | precision arithmetic. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 58 | |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 59 | config CONFIG_DEVFSD |
| 60 | bool "devfsd" |
| 61 | default n |
| 62 | help |
| 63 | Provides compatibility with old device names on a devfs systems. |
| 64 | You should set it to true if you have devfs enabled. |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 65 | The following keywords in devsfd.conf are supported: |
| 66 | "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE", |
| 67 | "PERMISSIONS", "EXECUTE", "COPY", "IGNORE", |
| 68 | "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT". |
| 69 | |
| 70 | But only if they are written UPPERCASE!!!!!!!! |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 71 | |
Glenn L McGrath | 3860b2e | 2003-11-30 23:46:06 +0000 | [diff] [blame] | 72 | config CONFIG_DEVFSD_MODLOAD |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 73 | bool "Adds support for MODLOAD keyword in devsfd.conf" |
Glenn L McGrath | 3860b2e | 2003-11-30 23:46:06 +0000 | [diff] [blame] | 74 | default n |
| 75 | depends on CONFIG_DEVFSD |
| 76 | help |
| 77 | This actually doesn't work with busybox modutils but needs the real modutils. |
| 78 | |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 79 | config CONFIG_DEVFSD_FG_NP |
| 80 | bool "Enables the -fg and -np options" |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 81 | default n |
| 82 | depends on CONFIG_DEVFSD |
| 83 | help |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 84 | -fg Run the daemon in the foreground. |
| 85 | -np Exit after parsing the configuration file. Do not poll for events. |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 86 | |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 87 | config CONFIG_DEVFSD_VERBOSE |
| 88 | bool "Increases logging (and size)" |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 89 | default n |
| 90 | depends on CONFIG_DEVFSD |
| 91 | help |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 92 | Increases logging to stderr or syslog. |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 93 | |
Mike Frysinger | 55e2cf6 | 2005-05-11 00:25:47 +0000 | [diff] [blame] | 94 | config CONFIG_EJECT |
| 95 | bool "eject" |
| 96 | default n |
| 97 | help |
| 98 | Used to eject cdroms. (defaults to /dev/cdrom) |
| 99 | |
Eric Andersen | 2e9c257 | 2003-08-08 22:26:06 +0000 | [diff] [blame] | 100 | config CONFIG_LAST |
| 101 | bool "last" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 102 | default n |
Mike Frysinger | 8deb686 | 2005-07-01 01:04:32 +0000 | [diff] [blame] | 103 | select CONFIG_FEATURE_WTMP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 104 | help |
Eric Andersen | 2e9c257 | 2003-08-08 22:26:06 +0000 | [diff] [blame] | 105 | 'last' displays a list of the last users that logged into the system. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 106 | |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 107 | config CONFIG_LESS |
| 108 | bool "less" |
| 109 | default n |
| 110 | help |
| 111 | 'less' is a pager, meaning that it displays text files. It possesses |
| 112 | a wide array of features, and is an improvement over 'more'. |
| 113 | |
| 114 | config CONFIG_FEATURE_LESS_BRACKETS |
| 115 | bool " Enable bracket searching" |
| 116 | default y |
| 117 | depends on CONFIG_LESS |
| 118 | help |
| 119 | This option adds the capability to search for matching left and right |
| 120 | brackets, facilitating programming. |
| 121 | |
| 122 | config CONFIG_FEATURE_LESS_FLAGS |
| 123 | bool " Enable extra flags" |
| 124 | default y |
| 125 | depends on CONFIG_LESS |
| 126 | help |
| 127 | The extra flags provided do the following: |
| 128 | |
| 129 | The -M flag enables a more sophisticated status line. |
| 130 | The -m flag enables a simpler status line with a percentage. |
| 131 | |
| 132 | config CONFIG_FEATURE_LESS_FLAGCS |
| 133 | bool " Enable flag changes" |
| 134 | default n |
| 135 | depends on CONFIG_LESS |
| 136 | help |
| 137 | This enables the ability to change command-line flags within |
| 138 | less itself. |
| 139 | |
| 140 | config CONFIG_FEATURE_LESS_MARKS |
| 141 | bool " Enable marks" |
| 142 | default n |
| 143 | depends on CONFIG_LESS |
| 144 | help |
| 145 | Marks enable positions in a file to be stored for easy reference. |
| 146 | |
| 147 | config CONFIG_FEATURE_LESS_REGEXP |
| 148 | bool " Enable regular expressions" |
| 149 | default n |
| 150 | depends on CONFIG_LESS |
| 151 | help |
| 152 | Enable regular expressions, allowing complex file searches. |
| 153 | |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 154 | config CONFIG_HDPARM |
| 155 | bool "hdparm" |
| 156 | default n |
| 157 | help |
| 158 | Get/Set hard drive parameters. Primarily intended for ATA |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 159 | drives. Adds about 13k (or around 30k if you enable the |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 160 | CONFIG_FEATURE_HDPARM_GET_IDENTITY option).... |
| 161 | |
| 162 | config CONFIG_FEATURE_HDPARM_GET_IDENTITY |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 163 | bool " Support obtaining detailed information directly from drives" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 164 | default y |
| 165 | depends on CONFIG_HDPARM |
| 166 | help |
| 167 | Enables the -I and -Istdin options to obtain detailed information |
| 168 | directly from drives about their capabilities and supported ATA |
| 169 | feature set. Enabling this option will add about 16k... |
| 170 | |
| 171 | config CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 172 | bool " Register an IDE interface (DANGEROUS)" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 173 | default n |
| 174 | depends on CONFIG_HDPARM |
| 175 | help |
| 176 | Enables the 'hdparm -R' option to register an IDE interface. |
| 177 | This is dangerous stuff, so you should probably say N. |
| 178 | |
| 179 | config CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 180 | bool " Un-register an IDE interface (DANGEROUS)" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 181 | default n |
| 182 | depends on CONFIG_HDPARM |
| 183 | help |
| 184 | Enables the 'hdparm -U' option to un-register an IDE interface. |
| 185 | This is dangerous stuff, so you should probably say N. |
| 186 | |
| 187 | config CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 188 | bool " perform device reset (DANGEROUS)" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 189 | default n |
| 190 | depends on CONFIG_HDPARM |
| 191 | help |
| 192 | Enables the 'hdparm -w' option to perform a device reset. |
| 193 | This is dangerous stuff, so you should probably say N. |
| 194 | |
| 195 | config CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 196 | bool " tristate device for hotswap (DANGEROUS)" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 197 | default n |
| 198 | depends on CONFIG_HDPARM |
| 199 | help |
| 200 | Enables the 'hdparm -x' option to tristate device for hotswap, |
| 201 | and the '-b' option to get/set bus state. This is dangerous |
| 202 | stuff, so you should probably say N. |
| 203 | |
Eric Andersen | 0a57a79 | 2003-08-06 08:57:35 +0000 | [diff] [blame] | 204 | config CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA |
| 205 | bool " get/set using_dma flag (DANGEROUS)" |
| 206 | default n |
| 207 | depends on CONFIG_HDPARM |
| 208 | help |
| 209 | Enables the 'hdparm -d' option to get/set using_dma flag. |
| 210 | This is dangerous stuff, so you should probably say N. |
| 211 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 212 | config CONFIG_MAKEDEVS |
| 213 | bool "makedevs" |
| 214 | default n |
| 215 | help |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 216 | 'makedevs' is a utility used to create a batch of devices with |
| 217 | one command. |
| 218 | . |
| 219 | There are two choices for command line behaviour, the interface |
| 220 | as used by LEAF/Linux Router Project, or a device table file. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 221 | . |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 222 | 'leaf' is traditionally what busybox follows, it allows multiple |
| 223 | devices of a particluar type to be created per command. |
| 224 | e.g. /dev/hda[0-9] |
| 225 | Device properties are passed as command line arguments. |
| 226 | . |
| 227 | 'table' reads device properties from a file or stdin, allowing |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 228 | a batch of unrelated devices to be makde with one command. |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 229 | User/group names are allowed as an alternative to uid/gid. |
| 230 | |
| 231 | choice |
| 232 | prompt "Choose makedevs behaviour" |
Eric Andersen | 1b7058c | 2005-07-18 09:36:49 +0000 | [diff] [blame] | 233 | depends CONFIG_MAKEDEVS |
| 234 | default CONFIG_FEATURE_MAKEDEVS_TABLE |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 235 | |
| 236 | config CONFIG_FEATURE_MAKEDEVS_LEAF |
| 237 | bool "leaf" |
| 238 | |
| 239 | config CONFIG_FEATURE_MAKEDEVS_TABLE |
| 240 | bool "table" |
| 241 | |
| 242 | endchoice |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 243 | |
Rob Landley | d00b3a5 | 2005-08-20 05:07:08 +0000 | [diff] [blame] | 244 | config CONFIG_MOUNTPOINT |
| 245 | bool "mountpoint" |
| 246 | default n |
| 247 | help |
| 248 | mountpoint checks if the directory is a mountpoint. |
| 249 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 250 | config CONFIG_MT |
| 251 | bool "mt" |
| 252 | default n |
| 253 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 254 | mt is used to control tape devices. You can use the mt utility |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 255 | to advance or rewind a tape past a specified number of archive |
| 256 | files on the tape. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 257 | |
Rob Landley | 51be57e | 2006-02-23 00:42:25 +0000 | [diff] [blame] | 258 | config CONFIG_RUNLEVEL |
Bernhard Reutner-Fischer | 62d7acc | 2005-10-28 20:37:03 +0000 | [diff] [blame] | 259 | bool "runlevel" |
| 260 | default n |
| 261 | help |
| 262 | find the current and previous system runlevel. |
| 263 | |
| 264 | This applet uses utmp but does not rely on busybox supporing |
| 265 | utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc. |
| 266 | |
Glenn L McGrath | 8f3bc4c | 2003-12-20 07:30:35 +0000 | [diff] [blame] | 267 | config CONFIG_RX |
| 268 | bool "rx" |
| 269 | default n |
| 270 | help |
| 271 | Receive files using the Xmodem protocol. |
| 272 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 273 | config CONFIG_STRINGS |
| 274 | bool "strings" |
| 275 | default n |
| 276 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 277 | strings prints the printable character sequences for each file |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 278 | specified. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 279 | |
Paul Fox | 4240364 | 2005-08-01 22:52:09 +0000 | [diff] [blame] | 280 | config CONFIG_SETSID |
| 281 | bool "setsid" |
| 282 | default n |
| 283 | help |
| 284 | setsid runs a program in a new session |
| 285 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 286 | config CONFIG_TIME |
| 287 | bool "time" |
| 288 | default n |
| 289 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 290 | The time command runs the specified program with the given arguments. |
| 291 | When the command finishes, time writes a message to standard output |
| 292 | giving timing statistics about this program run. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 293 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 294 | config CONFIG_WATCHDOG |
| 295 | bool "watchdog" |
| 296 | default n |
| 297 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 298 | The watchdog utility is used with hardware or software watchdog |
Eric Andersen | 795c4ba | 2003-07-22 10:11:48 +0000 | [diff] [blame] | 299 | device drivers. It opens the specified watchdog device special file |
| 300 | and periodically writes a magic character to the device. If the |
| 301 | watchdog applet ever fails to write the magic character within a |
Eric Andersen | ac00aa7 | 2003-07-26 08:07:56 +0000 | [diff] [blame] | 302 | certain amount of time, the watchdog device assumes the system has |
| 303 | hung, and will cause the hardware to reboot. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 304 | |
| 305 | endmenu |
| 306 | |