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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 8 | config ADJTIMEX |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 15 | config BBCONFIG |
Mike Frysinger | 9ed1094 | 2005-09-18 04:43:32 +0000 | [diff] [blame] | 16 | bool "bbconfig" |
| 17 | default n |
| 18 | help |
| 19 | The bbconfig applet will print the config file with which |
| 20 | busybox was built. |
| 21 | |
Denis Vlasenko | 5233cd3 | 2008-02-18 23:24:46 +0000 | [diff] [blame^] | 22 | config CHAT |
| 23 | bool "chat" |
| 24 | default n |
| 25 | help |
| 26 | Simple chat utility. |
| 27 | |
| 28 | config FEATURE_CHAT_NOFAIL |
| 29 | bool "Enable NOFAIL expect strings" |
| 30 | default y |
| 31 | help |
| 32 | When enabled expect strings which are started with a dash trigger |
| 33 | no-fail mode. That is when expectation is not met within timeout |
| 34 | the script is not terminated but sends next SEND string and waits |
| 35 | for next EXPECT string. This allows to compose far more flexible |
| 36 | scripts. |
| 37 | |
| 38 | config FEATURE_CHAT_TTY_HIFI |
| 39 | bool "Force STDIN to be a TTY" |
| 40 | default n |
| 41 | help |
| 42 | Original chat always treats STDIN as a TTY device and sets for it |
| 43 | so-called raw mode. This option turns on such behaviour. |
| 44 | |
| 45 | config FEATURE_CHAT_IMPLICIT_CR |
| 46 | bool "Enable implicit Carriage Return" |
| 47 | default y |
| 48 | help |
| 49 | When enabled make chat to terminate all SEND strings with a "\r" |
| 50 | unless "\c" is met anywhere in the string. |
| 51 | |
| 52 | config FEATURE_CHAT_SWALLOW_OPTS |
| 53 | bool "Swallow options" |
| 54 | default n |
| 55 | help |
| 56 | Busybox chat require no options. To make it not fail when used |
| 57 | in place of original chat (which has a bunch of options) turn |
| 58 | this on. |
| 59 | |
| 60 | config FEATURE_CHAT_SEND_ESCAPES |
| 61 | bool "Support weird SEND escapes" |
| 62 | default n |
| 63 | help |
| 64 | Original chat uses some escape sequences in SEND arguments which |
| 65 | are not sent to device but rather performs special actions. |
| 66 | E.g. "\K" means to send a break sequence to device. |
| 67 | "\d" delays execution for a second, "\p" -- for a 1/100 of second. |
| 68 | Before turning this option on think twice: do you really need them? |
| 69 | |
| 70 | config FEATURE_CHAT_VAR_ABORT_LEN |
| 71 | bool "Support variable-length ABORT conditions" |
| 72 | default n |
| 73 | help |
| 74 | Original chat uses fixed 50-bytes length ABORT conditions. Say N here. |
| 75 | |
| 76 | config FEATURE_CHAT_CLR_ABORT |
| 77 | bool "Support revoking of ABORT conditions" |
| 78 | default n |
| 79 | help |
| 80 | Support CLR_ABORT directive. |
| 81 | |
Bernhard Reutner-Fischer | 71bc71a | 2007-03-09 16:56:38 +0000 | [diff] [blame] | 82 | config CHRT |
| 83 | bool "chrt" |
| 84 | default n |
| 85 | help |
| 86 | manipulate real-time attributes of a process. |
| 87 | This requires sched_{g,s}etparam support in your libc. |
| 88 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 89 | config CROND |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 90 | bool "crond" |
| 91 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 92 | select FEATURE_SUID |
| 93 | select FEATURE_SYSLOG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 94 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 95 | Crond is a background daemon that parses individual crontab |
| 96 | files and executes commands on behalf of the users in question. |
Eric Andersen | 98e4eab | 2004-07-20 08:07:10 +0000 | [diff] [blame] | 97 | This is a port of dcron from slackware. It uses files of the |
| 98 | format /var/spool/cron/crontabs/<username> files, for example: |
| 99 | $ cat /var/spool/cron/crontabs/root |
| 100 | # Run daily cron jobs at 4:40 every day: |
| 101 | 40 4 * * * /etc/cron/daily > /dev/null 2>&1 |
Eric Andersen | 1387910 | 2004-08-26 23:13:00 +0000 | [diff] [blame] | 102 | Note that Busybox binary must be setuid root for this applet to |
| 103 | work properly. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 104 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 105 | config DEBUG_CROND_OPTION |
Bernhard Reutner-Fischer | ef21629 | 2006-05-20 14:14:05 +0000 | [diff] [blame] | 106 | bool "Support debug option -d" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 107 | depends on CROND |
Bernhard Reutner-Fischer | ef21629 | 2006-05-20 14:14:05 +0000 | [diff] [blame] | 108 | default n |
| 109 | help |
| 110 | Support option -d to enter debug mode. |
| 111 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 112 | config FEATURE_CROND_CALL_SENDMAIL |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 113 | bool "Using /usr/sbin/sendmail?" |
Eric Andersen | 35e643b | 2003-07-28 07:40:39 +0000 | [diff] [blame] | 114 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 115 | depends on CROND |
Eric Andersen | 35e643b | 2003-07-28 07:40:39 +0000 | [diff] [blame] | 116 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 117 | Support calling /usr/sbin/sendmail for send cmd outputs. |
Eric Andersen | 35e643b | 2003-07-28 07:40:39 +0000 | [diff] [blame] | 118 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 119 | config CRONTAB |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 120 | bool "crontab" |
| 121 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 122 | select FEATURE_SUID |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 123 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 124 | Crontab manipulates the crontab for a particular user. Only |
| 125 | the superuser may specify a different user and/or crontab directory. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 126 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 127 | config DC |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 128 | bool "dc" |
| 129 | default n |
| 130 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 131 | Dc is a reverse-polish desk calculator which supports unlimited |
| 132 | precision arithmetic. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 133 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 134 | config DEVFSD |
Rob Landley | 4c5ad2f | 2006-06-07 20:11:53 +0000 | [diff] [blame] | 135 | bool "devfsd (obsolete)" |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 136 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 137 | select FEATURE_SYSLOG |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 138 | help |
Rob Landley | 1f9145c | 2006-07-12 21:31:16 +0000 | [diff] [blame] | 139 | This is deprecated, and will be removed at the end of 2008. |
Rob Landley | 4c5ad2f | 2006-06-07 20:11:53 +0000 | [diff] [blame] | 140 | |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 141 | Provides compatibility with old device names on a devfs systems. |
| 142 | You should set it to true if you have devfs enabled. |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 143 | The following keywords in devsfd.conf are supported: |
| 144 | "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE", |
| 145 | "PERMISSIONS", "EXECUTE", "COPY", "IGNORE", |
| 146 | "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT". |
| 147 | |
| 148 | But only if they are written UPPERCASE!!!!!!!! |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 149 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 150 | config DEVFSD_MODLOAD |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 151 | bool "Adds support for MODLOAD keyword in devsfd.conf" |
Glenn L McGrath | 3860b2e | 2003-11-30 23:46:06 +0000 | [diff] [blame] | 152 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 153 | depends on DEVFSD |
Glenn L McGrath | 3860b2e | 2003-11-30 23:46:06 +0000 | [diff] [blame] | 154 | help |
Rob Landley | 4c5ad2f | 2006-06-07 20:11:53 +0000 | [diff] [blame] | 155 | This actually doesn't work with busybox modutils but needs |
| 156 | the external modutils. |
Glenn L McGrath | 3860b2e | 2003-11-30 23:46:06 +0000 | [diff] [blame] | 157 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 158 | config DEVFSD_FG_NP |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 159 | bool "Enables the -fg and -np options" |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 160 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 161 | depends on DEVFSD |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 162 | help |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 163 | -fg Run the daemon in the foreground. |
| 164 | -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] | 165 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 166 | config DEVFSD_VERBOSE |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 167 | bool "Increases logging (and size)" |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 168 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 169 | depends on DEVFSD |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 170 | help |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 171 | Increases logging to stderr or syslog. |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 172 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 173 | config FEATURE_DEVFS |
Rob Landley | 4c5ad2f | 2006-06-07 20:11:53 +0000 | [diff] [blame] | 174 | bool " Use devfs names for all devices (obsolete)" |
| 175 | default n |
| 176 | help |
Rob Landley | 1f9145c | 2006-07-12 21:31:16 +0000 | [diff] [blame] | 177 | This is obsolete and will be going away at the end of 2008.. |
| 178 | |
Rob Landley | 4c5ad2f | 2006-06-07 20:11:53 +0000 | [diff] [blame] | 179 | This tells busybox to look for names like /dev/loop/0 instead of |
| 180 | /dev/loop0. If your /dev directory has normal names instead of |
| 181 | devfs names, you don't want this. |
| 182 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 183 | config EJECT |
Mike Frysinger | 55e2cf6 | 2005-05-11 00:25:47 +0000 | [diff] [blame] | 184 | bool "eject" |
| 185 | default n |
| 186 | help |
| 187 | Used to eject cdroms. (defaults to /dev/cdrom) |
| 188 | |
Bernhard Reutner-Fischer | afdad65 | 2008-02-08 15:04:00 +0000 | [diff] [blame] | 189 | config FEATURE_EJECT_SCSI |
| 190 | bool "eject scsi support" |
| 191 | default n |
| 192 | depends on EJECT |
| 193 | help |
| 194 | Add the -s option to eject, this allows to eject SCSI-Devices and |
| 195 | usb-storage devices. |
| 196 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 197 | config LAST |
Eric Andersen | 2e9c257 | 2003-08-08 22:26:06 +0000 | [diff] [blame] | 198 | bool "last" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 199 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 200 | select FEATURE_WTMP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 201 | help |
Eric Andersen | 2e9c257 | 2003-08-08 22:26:06 +0000 | [diff] [blame] | 202 | '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] | 203 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 204 | config LESS |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 205 | bool "less" |
| 206 | default n |
| 207 | help |
| 208 | 'less' is a pager, meaning that it displays text files. It possesses |
| 209 | a wide array of features, and is an improvement over 'more'. |
| 210 | |
Denis Vlasenko | 9a7cef9 | 2006-12-20 02:46:48 +0000 | [diff] [blame] | 211 | config FEATURE_LESS_MAXLINES |
| 212 | int "Max number of input lines less will try to eat" |
| 213 | default 9999999 |
| 214 | depends on LESS |
| 215 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 216 | config FEATURE_LESS_BRACKETS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 217 | bool "Enable bracket searching" |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 218 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 219 | depends on LESS |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 220 | help |
| 221 | This option adds the capability to search for matching left and right |
| 222 | brackets, facilitating programming. |
| 223 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 224 | config FEATURE_LESS_FLAGS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 225 | bool "Enable extra flags" |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 226 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 227 | depends on LESS |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 228 | help |
| 229 | The extra flags provided do the following: |
| 230 | |
| 231 | The -M flag enables a more sophisticated status line. |
| 232 | The -m flag enables a simpler status line with a percentage. |
| 233 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 234 | config FEATURE_LESS_FLAGCS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 235 | bool "Enable flag changes" |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 236 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 237 | depends on LESS |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 238 | help |
| 239 | This enables the ability to change command-line flags within |
| 240 | less itself. |
| 241 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 242 | config FEATURE_LESS_MARKS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 243 | bool "Enable marks" |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 244 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 245 | depends on LESS |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 246 | help |
| 247 | Marks enable positions in a file to be stored for easy reference. |
| 248 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 249 | config FEATURE_LESS_REGEXP |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 250 | bool "Enable regular expressions" |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 251 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 252 | depends on LESS |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 253 | help |
| 254 | Enable regular expressions, allowing complex file searches. |
| 255 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 256 | config HDPARM |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 257 | bool "hdparm" |
| 258 | default n |
| 259 | help |
| 260 | Get/Set hard drive parameters. Primarily intended for ATA |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 261 | drives. Adds about 13k (or around 30k if you enable the |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 262 | FEATURE_HDPARM_GET_IDENTITY option).... |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 263 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 264 | config FEATURE_HDPARM_GET_IDENTITY |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 265 | bool "Support obtaining detailed information directly from drives" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 266 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 267 | depends on HDPARM |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 268 | help |
Rob Landley | 0620841 | 2006-05-31 22:52:57 +0000 | [diff] [blame] | 269 | Enables the -I and -i options to obtain detailed information |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 270 | directly from drives about their capabilities and supported ATA |
Rob Landley | 0620841 | 2006-05-31 22:52:57 +0000 | [diff] [blame] | 271 | feature set. If no device name is specified, hdparm will read |
| 272 | identify data from stdin. Enabling this option will add about 16k... |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 273 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 274 | config FEATURE_HDPARM_HDIO_SCAN_HWIF |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 275 | bool "Register an IDE interface (DANGEROUS)" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 276 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 277 | depends on HDPARM |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 278 | help |
| 279 | Enables the 'hdparm -R' option to register an IDE interface. |
| 280 | This is dangerous stuff, so you should probably say N. |
| 281 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 282 | config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 283 | bool "Un-register an IDE interface (DANGEROUS)" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 284 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 285 | depends on HDPARM |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 286 | help |
| 287 | Enables the 'hdparm -U' option to un-register an IDE interface. |
| 288 | This is dangerous stuff, so you should probably say N. |
| 289 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 290 | config FEATURE_HDPARM_HDIO_DRIVE_RESET |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 291 | bool "perform device reset (DANGEROUS)" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 292 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 293 | depends on HDPARM |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 294 | help |
| 295 | Enables the 'hdparm -w' option to perform a device reset. |
| 296 | This is dangerous stuff, so you should probably say N. |
| 297 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 298 | config FEATURE_HDPARM_HDIO_TRISTATE_HWIF |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 299 | bool "tristate device for hotswap (DANGEROUS)" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 300 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 301 | depends on HDPARM |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 302 | help |
| 303 | Enables the 'hdparm -x' option to tristate device for hotswap, |
| 304 | and the '-b' option to get/set bus state. This is dangerous |
| 305 | stuff, so you should probably say N. |
| 306 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 307 | config FEATURE_HDPARM_HDIO_GETSET_DMA |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 308 | bool "get/set using_dma flag (DANGEROUS)" |
Eric Andersen | 0a57a79 | 2003-08-06 08:57:35 +0000 | [diff] [blame] | 309 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 310 | depends on HDPARM |
Eric Andersen | 0a57a79 | 2003-08-06 08:57:35 +0000 | [diff] [blame] | 311 | help |
| 312 | Enables the 'hdparm -d' option to get/set using_dma flag. |
| 313 | This is dangerous stuff, so you should probably say N. |
| 314 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 315 | config MAKEDEVS |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 316 | bool "makedevs" |
| 317 | default n |
| 318 | help |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 319 | 'makedevs' is a utility used to create a batch of devices with |
| 320 | one command. |
| 321 | . |
| 322 | There are two choices for command line behaviour, the interface |
| 323 | as used by LEAF/Linux Router Project, or a device table file. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 324 | . |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 325 | 'leaf' is traditionally what busybox follows, it allows multiple |
| 326 | devices of a particluar type to be created per command. |
| 327 | e.g. /dev/hda[0-9] |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 328 | Device properties are passed as command line arguments. |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 329 | . |
| 330 | 'table' reads device properties from a file or stdin, allowing |
Bernhard Reutner-Fischer | 771b186 | 2006-03-24 14:30:05 +0000 | [diff] [blame] | 331 | a batch of unrelated devices to be made with one command. |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 332 | User/group names are allowed as an alternative to uid/gid. |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 333 | |
| 334 | choice |
| 335 | prompt "Choose makedevs behaviour" |
Mike Frysinger | 08e7097 | 2007-01-24 09:14:09 +0000 | [diff] [blame] | 336 | depends on MAKEDEVS |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 337 | default FEATURE_MAKEDEVS_TABLE |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 338 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 339 | config FEATURE_MAKEDEVS_LEAF |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 340 | bool "leaf" |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 341 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 342 | config FEATURE_MAKEDEVS_TABLE |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 343 | bool "table" |
| 344 | |
| 345 | endchoice |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 346 | |
Denis Vlasenko | 23856ab | 2007-09-22 20:51:41 +0000 | [diff] [blame] | 347 | config MICROCOM |
| 348 | bool "microcom" |
| 349 | default n |
| 350 | help |
| 351 | The poor man's minicom utility for chatting with serial port devices. |
| 352 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 353 | config MOUNTPOINT |
Rob Landley | d00b3a5 | 2005-08-20 05:07:08 +0000 | [diff] [blame] | 354 | bool "mountpoint" |
| 355 | default n |
| 356 | help |
| 357 | mountpoint checks if the directory is a mountpoint. |
| 358 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 359 | config MT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 360 | bool "mt" |
| 361 | default n |
| 362 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 363 | 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] | 364 | to advance or rewind a tape past a specified number of archive |
| 365 | files on the tape. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 366 | |
Denis Vlasenko | c108ed5 | 2006-10-20 19:39:48 +0000 | [diff] [blame] | 367 | config RAIDAUTORUN |
| 368 | bool "raidautorun" |
| 369 | default n |
| 370 | help |
| 371 | raidautorun tells the kernel md driver to |
| 372 | search and start RAID arrays. |
| 373 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 374 | config READAHEAD |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 375 | bool "readahead" |
Rob Landley | 0e4690d | 2006-08-20 22:12:18 +0000 | [diff] [blame] | 376 | default n |
Bernhard Reutner-Fischer | f98d637 | 2007-01-26 09:03:23 +0000 | [diff] [blame] | 377 | depends on LFS |
Rob Landley | 0e4690d | 2006-08-20 22:12:18 +0000 | [diff] [blame] | 378 | help |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 379 | Preload the files listed on the command line into RAM cache so that |
Rob Landley | 0e4690d | 2006-08-20 22:12:18 +0000 | [diff] [blame] | 380 | subsequent reads on these files will not block on disk I/O. |
| 381 | |
| 382 | This applet just calls the readahead(2) system call on each file. |
| 383 | It is mainly useful in system startup scripts to preload files |
| 384 | or executables before they are used. When used at the right time |
| 385 | (in particular when a CPU boundprocess is running) it can |
| 386 | significantly speed up system startup. |
| 387 | |
| 388 | As readahead(2) blocks until each file has been read, it is best to |
Denis Vlasenko | 9213a9e | 2006-09-17 16:28:10 +0000 | [diff] [blame] | 389 | run this applet as a background job. |
Rob Landley | 0e4690d | 2006-08-20 22:12:18 +0000 | [diff] [blame] | 390 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 391 | config RUNLEVEL |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 392 | bool "runlevel" |
Bernhard Reutner-Fischer | 62d7acc | 2005-10-28 20:37:03 +0000 | [diff] [blame] | 393 | default n |
| 394 | help |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 395 | find the current and previous system runlevel. |
Bernhard Reutner-Fischer | 62d7acc | 2005-10-28 20:37:03 +0000 | [diff] [blame] | 396 | |
| 397 | This applet uses utmp but does not rely on busybox supporing |
| 398 | utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc. |
| 399 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 400 | config RX |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 401 | bool "rx" |
Glenn L McGrath | 8f3bc4c | 2003-12-20 07:30:35 +0000 | [diff] [blame] | 402 | default n |
| 403 | help |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 404 | Receive files using the Xmodem protocol. |
Glenn L McGrath | 8f3bc4c | 2003-12-20 07:30:35 +0000 | [diff] [blame] | 405 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 406 | config STRINGS |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 407 | bool "strings" |
| 408 | default n |
| 409 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 410 | strings prints the printable character sequences for each file |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 411 | specified. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 412 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 413 | config SETSID |
Paul Fox | 4240364 | 2005-08-01 22:52:09 +0000 | [diff] [blame] | 414 | bool "setsid" |
| 415 | default n |
| 416 | help |
| 417 | setsid runs a program in a new session |
| 418 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 419 | config TASKSET |
Bernhard Reutner-Fischer | 16d3e4e | 2006-06-07 15:44:59 +0000 | [diff] [blame] | 420 | bool "taskset" |
| 421 | default n |
| 422 | help |
Mike Frysinger | 259472e | 2006-07-03 05:22:36 +0000 | [diff] [blame] | 423 | Retrieve or set a processes's CPU affinity. |
Bernhard Reutner-Fischer | 32eddff | 2006-11-22 16:39:48 +0000 | [diff] [blame] | 424 | This requires sched_{g,s}etaffinity support in your libc. |
| 425 | |
| 426 | config FEATURE_TASKSET_FANCY |
| 427 | bool "fancy output" |
| 428 | default y |
| 429 | depends on TASKSET |
| 430 | help |
| 431 | Add code for fancy output. This merely silences a compiler-warning |
| 432 | and adds about 135 Bytes. May be needed for machines with alot |
| 433 | of CPUs. |
Rob Landley | 12d9419 | 2006-06-30 22:20:43 +0000 | [diff] [blame] | 434 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 435 | config TIME |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 436 | bool "time" |
| 437 | default n |
| 438 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 439 | The time command runs the specified program with the given arguments. |
| 440 | When the command finishes, time writes a message to standard output |
| 441 | giving timing statistics about this program run. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 442 | |
Denis Vlasenko | c01af95 | 2007-08-02 22:23:47 +0000 | [diff] [blame] | 443 | config TTYSIZE |
| 444 | bool "ttysize" |
| 445 | default n |
| 446 | help |
| 447 | A replacement for "stty size". Unlike stty, can report only width, |
| 448 | only height, or both, in any order. It also does not complain on error, |
| 449 | but returns default 80x24. Usage in shell scripts: width=`ttysize w`. |
| 450 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 451 | config WATCHDOG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 452 | bool "watchdog" |
| 453 | default n |
| 454 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 455 | The watchdog utility is used with hardware or software watchdog |
Eric Andersen | 795c4ba | 2003-07-22 10:11:48 +0000 | [diff] [blame] | 456 | device drivers. It opens the specified watchdog device special file |
| 457 | and periodically writes a magic character to the device. If the |
| 458 | watchdog applet ever fails to write the magic character within a |
Eric Andersen | ac00aa7 | 2003-07-26 08:07:56 +0000 | [diff] [blame] | 459 | certain amount of time, the watchdog device assumes the system has |
| 460 | hung, and will cause the hardware to reboot. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 461 | |
| 462 | endmenu |
| 463 | |