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 | |
Bernhard Reutner-Fischer | 45de074 | 2009-08-21 13:18:31 +0200 | [diff] [blame] | 22 | config BEEP |
| 23 | bool "beep" |
| 24 | default n |
| 25 | help |
| 26 | The beep applets beeps in a given freq/Hz. |
| 27 | |
Bernhard Reutner-Fischer | 00ea82e | 2009-08-21 14:40:29 +0200 | [diff] [blame] | 28 | config FEATURE_BEEP_FREQ |
| 29 | int "default frequency" |
| 30 | range 0 2147483647 |
| 31 | default 4000 |
| 32 | depends on BEEP |
| 33 | help |
| 34 | Frequency for default beep. |
| 35 | |
Denys Vlasenko | 0da1c0a | 2009-08-22 18:00:39 +0200 | [diff] [blame] | 36 | config FEATURE_BEEP_LENGTH_MS |
Bernhard Reutner-Fischer | 00ea82e | 2009-08-21 14:40:29 +0200 | [diff] [blame] | 37 | int "default length" |
| 38 | range 0 2147483647 |
| 39 | default 30 |
| 40 | depends on BEEP |
| 41 | help |
| 42 | Length in ms for default beep. |
| 43 | |
Denis Vlasenko | 5233cd3 | 2008-02-18 23:24:46 +0000 | [diff] [blame] | 44 | config CHAT |
| 45 | bool "chat" |
| 46 | default n |
| 47 | help |
| 48 | Simple chat utility. |
| 49 | |
| 50 | config FEATURE_CHAT_NOFAIL |
| 51 | bool "Enable NOFAIL expect strings" |
Denis Vlasenko | 8617454 | 2008-02-19 11:36:22 +0000 | [diff] [blame] | 52 | depends on CHAT |
Denis Vlasenko | 5233cd3 | 2008-02-18 23:24:46 +0000 | [diff] [blame] | 53 | default y |
| 54 | help |
| 55 | When enabled expect strings which are started with a dash trigger |
| 56 | no-fail mode. That is when expectation is not met within timeout |
| 57 | the script is not terminated but sends next SEND string and waits |
| 58 | for next EXPECT string. This allows to compose far more flexible |
| 59 | scripts. |
| 60 | |
| 61 | config FEATURE_CHAT_TTY_HIFI |
| 62 | bool "Force STDIN to be a TTY" |
Denis Vlasenko | 8617454 | 2008-02-19 11:36:22 +0000 | [diff] [blame] | 63 | depends on CHAT |
Denis Vlasenko | 5233cd3 | 2008-02-18 23:24:46 +0000 | [diff] [blame] | 64 | default n |
| 65 | help |
| 66 | Original chat always treats STDIN as a TTY device and sets for it |
| 67 | so-called raw mode. This option turns on such behaviour. |
| 68 | |
| 69 | config FEATURE_CHAT_IMPLICIT_CR |
| 70 | bool "Enable implicit Carriage Return" |
Denis Vlasenko | 8617454 | 2008-02-19 11:36:22 +0000 | [diff] [blame] | 71 | depends on CHAT |
Denis Vlasenko | 5233cd3 | 2008-02-18 23:24:46 +0000 | [diff] [blame] | 72 | default y |
| 73 | help |
| 74 | When enabled make chat to terminate all SEND strings with a "\r" |
| 75 | unless "\c" is met anywhere in the string. |
| 76 | |
| 77 | config FEATURE_CHAT_SWALLOW_OPTS |
| 78 | bool "Swallow options" |
Denis Vlasenko | 8617454 | 2008-02-19 11:36:22 +0000 | [diff] [blame] | 79 | depends on CHAT |
Denis Vlasenko | 5233cd3 | 2008-02-18 23:24:46 +0000 | [diff] [blame] | 80 | default n |
| 81 | help |
| 82 | Busybox chat require no options. To make it not fail when used |
| 83 | in place of original chat (which has a bunch of options) turn |
| 84 | this on. |
| 85 | |
| 86 | config FEATURE_CHAT_SEND_ESCAPES |
| 87 | bool "Support weird SEND escapes" |
Denis Vlasenko | 8617454 | 2008-02-19 11:36:22 +0000 | [diff] [blame] | 88 | depends on CHAT |
Denis Vlasenko | 5233cd3 | 2008-02-18 23:24:46 +0000 | [diff] [blame] | 89 | default n |
| 90 | help |
| 91 | Original chat uses some escape sequences in SEND arguments which |
| 92 | are not sent to device but rather performs special actions. |
| 93 | E.g. "\K" means to send a break sequence to device. |
| 94 | "\d" delays execution for a second, "\p" -- for a 1/100 of second. |
| 95 | Before turning this option on think twice: do you really need them? |
| 96 | |
| 97 | config FEATURE_CHAT_VAR_ABORT_LEN |
| 98 | bool "Support variable-length ABORT conditions" |
Denis Vlasenko | 8617454 | 2008-02-19 11:36:22 +0000 | [diff] [blame] | 99 | depends on CHAT |
Denis Vlasenko | 5233cd3 | 2008-02-18 23:24:46 +0000 | [diff] [blame] | 100 | default n |
| 101 | help |
| 102 | Original chat uses fixed 50-bytes length ABORT conditions. Say N here. |
| 103 | |
| 104 | config FEATURE_CHAT_CLR_ABORT |
| 105 | bool "Support revoking of ABORT conditions" |
Denis Vlasenko | 8617454 | 2008-02-19 11:36:22 +0000 | [diff] [blame] | 106 | depends on CHAT |
Denis Vlasenko | 5233cd3 | 2008-02-18 23:24:46 +0000 | [diff] [blame] | 107 | default n |
| 108 | help |
| 109 | Support CLR_ABORT directive. |
| 110 | |
Bernhard Reutner-Fischer | 71bc71a | 2007-03-09 16:56:38 +0000 | [diff] [blame] | 111 | config CHRT |
| 112 | bool "chrt" |
| 113 | default n |
| 114 | help |
| 115 | manipulate real-time attributes of a process. |
| 116 | This requires sched_{g,s}etparam support in your libc. |
| 117 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 118 | config CROND |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 119 | bool "crond" |
| 120 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 121 | select FEATURE_SUID |
| 122 | select FEATURE_SYSLOG |
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 | Crond is a background daemon that parses individual crontab |
| 125 | files and executes commands on behalf of the users in question. |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 126 | This is a port of dcron from slackware. It uses files of the |
Eric Andersen | 98e4eab | 2004-07-20 08:07:10 +0000 | [diff] [blame] | 127 | format /var/spool/cron/crontabs/<username> files, for example: |
| 128 | $ cat /var/spool/cron/crontabs/root |
| 129 | # Run daily cron jobs at 4:40 every day: |
| 130 | 40 4 * * * /etc/cron/daily > /dev/null 2>&1 |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 131 | |
Denis Vlasenko | 35a064b | 2008-11-06 00:49:59 +0000 | [diff] [blame] | 132 | config FEATURE_CROND_D |
Denis Vlasenko | 4e6c812 | 2008-03-12 22:10:25 +0000 | [diff] [blame] | 133 | bool "Support option -d to redirect output to stderr" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 134 | depends on CROND |
Bernhard Reutner-Fischer | ef21629 | 2006-05-20 14:14:05 +0000 | [diff] [blame] | 135 | default n |
| 136 | help |
Denis Vlasenko | 4e6c812 | 2008-03-12 22:10:25 +0000 | [diff] [blame] | 137 | -d sets loglevel to 0 (most verbose) and directs all output to stderr. |
Bernhard Reutner-Fischer | ef21629 | 2006-05-20 14:14:05 +0000 | [diff] [blame] | 138 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 139 | config FEATURE_CROND_CALL_SENDMAIL |
Denys Vlasenko | a8df4c0 | 2009-10-19 18:56:26 +0200 | [diff] [blame^] | 140 | bool "Report command output via email (using sendmail)" |
Eric Andersen | 35e643b | 2003-07-28 07:40:39 +0000 | [diff] [blame] | 141 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 142 | depends on CROND |
Eric Andersen | 35e643b | 2003-07-28 07:40:39 +0000 | [diff] [blame] | 143 | help |
Denys Vlasenko | a8df4c0 | 2009-10-19 18:56:26 +0200 | [diff] [blame^] | 144 | Command output will be sent to corresponding user via email. |
Eric Andersen | 35e643b | 2003-07-28 07:40:39 +0000 | [diff] [blame] | 145 | |
Denis Vlasenko | ded5dfe | 2009-02-03 23:59:41 +0000 | [diff] [blame] | 146 | config FEATURE_CROND_DIR |
| 147 | string "crond spool directory" |
| 148 | default "/var/spool/cron" |
| 149 | depends on CROND || CRONTAB |
| 150 | help |
| 151 | Location of crond spool. |
| 152 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 153 | config CRONTAB |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 154 | bool "crontab" |
| 155 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 156 | select FEATURE_SUID |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 157 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 158 | Crontab manipulates the crontab for a particular user. Only |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 159 | the superuser may specify a different user and/or crontab directory. |
Denis Vlasenko | 4e6c812 | 2008-03-12 22:10:25 +0000 | [diff] [blame] | 160 | Note that Busybox binary must be setuid root for this applet to |
| 161 | work properly. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 162 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 163 | config DC |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 164 | bool "dc" |
| 165 | default n |
| 166 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 167 | Dc is a reverse-polish desk calculator which supports unlimited |
| 168 | precision arithmetic. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 169 | |
Denis Vlasenko | 0783230 | 2008-10-20 08:43:10 +0000 | [diff] [blame] | 170 | config FEATURE_DC_LIBM |
| 171 | bool "Enable power and exp functions (requires libm)" |
| 172 | default n |
| 173 | depends on DC |
| 174 | help |
| 175 | Enable power and exp functions. |
| 176 | NOTE: This will require libm to be present for linking. |
| 177 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 178 | config DEVFSD |
Rob Landley | 4c5ad2f | 2006-06-07 20:11:53 +0000 | [diff] [blame] | 179 | bool "devfsd (obsolete)" |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 180 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 181 | select FEATURE_SYSLOG |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 182 | help |
Bernhard Reutner-Fischer | 52b56b7 | 2009-02-14 12:19:37 +0000 | [diff] [blame] | 183 | This is deprecated and should NOT be used anymore. |
| 184 | Use linux >= 2.6 (optionally with hotplug) and mdev instead! |
| 185 | See docs/mdev.txt for detailed instructions on how to use mdev |
| 186 | instead. |
Rob Landley | 4c5ad2f | 2006-06-07 20:11:53 +0000 | [diff] [blame] | 187 | |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 188 | Provides compatibility with old device names on a devfs systems. |
| 189 | You should set it to true if you have devfs enabled. |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 190 | The following keywords in devsfd.conf are supported: |
| 191 | "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE", |
| 192 | "PERMISSIONS", "EXECUTE", "COPY", "IGNORE", |
| 193 | "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT". |
| 194 | |
Denis Vlasenko | 4cfa5a2 | 2008-11-10 09:33:42 +0000 | [diff] [blame] | 195 | But only if they are written UPPERCASE!!!!!!!! |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 196 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 197 | config DEVFSD_MODLOAD |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 198 | bool "Adds support for MODLOAD keyword in devsfd.conf" |
Glenn L McGrath | 3860b2e | 2003-11-30 23:46:06 +0000 | [diff] [blame] | 199 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 200 | depends on DEVFSD |
Glenn L McGrath | 3860b2e | 2003-11-30 23:46:06 +0000 | [diff] [blame] | 201 | help |
Rob Landley | 4c5ad2f | 2006-06-07 20:11:53 +0000 | [diff] [blame] | 202 | This actually doesn't work with busybox modutils but needs |
| 203 | the external modutils. |
Glenn L McGrath | 3860b2e | 2003-11-30 23:46:06 +0000 | [diff] [blame] | 204 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 205 | config DEVFSD_FG_NP |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 206 | bool "Enables the -fg and -np options" |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 207 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 208 | depends on DEVFSD |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 209 | help |
Bernhard Reutner-Fischer | b111917 | 2008-07-01 12:20:20 +0000 | [diff] [blame] | 210 | -fg Run the daemon in the foreground. |
| 211 | -np Exit after parsing the configuration file. |
| 212 | Do not poll for events. |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 213 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 214 | config DEVFSD_VERBOSE |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 215 | bool "Increases logging (and size)" |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 216 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 217 | depends on DEVFSD |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 218 | help |
Eric Andersen | f18bd89 | 2003-12-19 11:07:59 +0000 | [diff] [blame] | 219 | Increases logging to stderr or syslog. |
Glenn L McGrath | 17d21fa | 2003-10-09 11:46:23 +0000 | [diff] [blame] | 220 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 221 | config FEATURE_DEVFS |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 222 | bool "Use devfs names for all devices (obsolete)" |
Rob Landley | 4c5ad2f | 2006-06-07 20:11:53 +0000 | [diff] [blame] | 223 | default n |
| 224 | help |
Bernhard Reutner-Fischer | 52b56b7 | 2009-02-14 12:19:37 +0000 | [diff] [blame] | 225 | This is obsolete and should NOT be used anymore. |
| 226 | Use linux >= 2.6 (optionally with hotplug) and mdev instead! |
Rob Landley | 1f9145c | 2006-07-12 21:31:16 +0000 | [diff] [blame] | 227 | |
Bernhard Reutner-Fischer | 52b56b7 | 2009-02-14 12:19:37 +0000 | [diff] [blame] | 228 | For legacy systems -- if there is no way around devfsd -- this |
| 229 | tells busybox to look for names like /dev/loop/0 instead of |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 230 | /dev/loop0. If your /dev directory has normal names instead of |
Rob Landley | 4c5ad2f | 2006-06-07 20:11:53 +0000 | [diff] [blame] | 231 | devfs names, you don't want this. |
| 232 | |
Denis Vlasenko | c94fa56 | 2008-10-26 11:08:14 +0000 | [diff] [blame] | 233 | config DEVMEM |
| 234 | bool "devmem" |
| 235 | default n |
| 236 | help |
| 237 | devmem is a small program that reads and writes from physical |
| 238 | memory using /dev/mem. |
| 239 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 240 | config EJECT |
Mike Frysinger | 55e2cf6 | 2005-05-11 00:25:47 +0000 | [diff] [blame] | 241 | bool "eject" |
| 242 | default n |
| 243 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 244 | Used to eject cdroms. (defaults to /dev/cdrom) |
Mike Frysinger | 55e2cf6 | 2005-05-11 00:25:47 +0000 | [diff] [blame] | 245 | |
Bernhard Reutner-Fischer | afdad65 | 2008-02-08 15:04:00 +0000 | [diff] [blame] | 246 | config FEATURE_EJECT_SCSI |
Denis Vlasenko | 08ec67b | 2008-03-26 13:32:30 +0000 | [diff] [blame] | 247 | bool "SCSI support" |
| 248 | default n |
| 249 | depends on EJECT |
| 250 | help |
| 251 | Add the -s option to eject, this allows to eject SCSI-Devices and |
| 252 | usb-storage devices. |
| 253 | |
| 254 | config FBSPLASH |
| 255 | bool "fbsplash" |
| 256 | default n |
| 257 | help |
| 258 | Shows splash image and progress bar on framebuffer device. |
| 259 | Can be used during boot phase of an embedded device. ~2kb. |
| 260 | Usage: |
| 261 | - use kernel option 'vga=xxx' or otherwise enable fb device. |
Denis Vlasenko | 25a9c17 | 2008-03-26 15:12:11 +0000 | [diff] [blame] | 262 | - put somewhere fbsplash.cfg file and an image in .ppm format. |
Denis Vlasenko | 08ec67b | 2008-03-26 13:32:30 +0000 | [diff] [blame] | 263 | - $ setsid fbsplash [params] & |
Denis Vlasenko | 25a9c17 | 2008-03-26 15:12:11 +0000 | [diff] [blame] | 264 | -c: hide cursor |
| 265 | -d /dev/fbN: framebuffer device (if not /dev/fb0) |
| 266 | -s path_to_image_file (can be "-" for stdin) |
Denis Vlasenko | 72b3442 | 2008-03-27 13:14:29 +0000 | [diff] [blame] | 267 | -i path_to_cfg_file (can be "-" for stdin) |
Denis Vlasenko | 25a9c17 | 2008-03-26 15:12:11 +0000 | [diff] [blame] | 268 | -f path_to_fifo (can be "-" for stdin) |
| 269 | - if you want to run it only in presence of kernel parameter: |
Denis Vlasenko | 08ec67b | 2008-03-26 13:32:30 +0000 | [diff] [blame] | 270 | grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] & |
| 271 | - commands for fifo: |
| 272 | "NN" (ASCII decimal number) - percentage to show on progress bar |
Denis Vlasenko | 72b3442 | 2008-03-27 13:14:29 +0000 | [diff] [blame] | 273 | "exit" - well you guessed it |
Bernhard Reutner-Fischer | afdad65 | 2008-02-08 15:04:00 +0000 | [diff] [blame] | 274 | |
Denys Vlasenko | bf2af9a | 2009-05-25 04:15:37 +0200 | [diff] [blame] | 275 | config FLASH_LOCK |
| 276 | bool "flash_lock" |
| 277 | default n |
| 278 | help |
| 279 | The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This |
| 280 | utility locks part or all of the flash device. |
| 281 | |
| 282 | config FLASH_UNLOCK |
| 283 | bool "flash_unlock" |
| 284 | default n |
| 285 | help |
| 286 | The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This |
| 287 | utility unlocks part or all of the flash device. |
| 288 | |
Bernhard Reutner-Fischer | 0d22d17 | 2009-02-18 13:23:46 +0000 | [diff] [blame] | 289 | config FLASH_ERASEALL |
| 290 | bool "flash_eraseall" |
| 291 | default n |
| 292 | help |
| 293 | The flash_eraseall binary from mtd-utils as of git head c4c6a59eb. |
| 294 | This utility is used to erase the whole MTD device. |
| 295 | |
Denis Vlasenko | 4acdb46 | 2009-01-31 21:45:57 +0000 | [diff] [blame] | 296 | config IONICE |
| 297 | bool "ionice" |
| 298 | default n |
| 299 | help |
| 300 | Set/set program io scheduling class and priority |
| 301 | Requires kernel >= 2.6.13 |
| 302 | |
Denis Vlasenko | 8e2c9e1 | 2008-05-24 20:47:18 +0000 | [diff] [blame] | 303 | config INOTIFYD |
| 304 | bool "inotifyd" |
| 305 | default n |
| 306 | help |
Bernhard Reutner-Fischer | b111917 | 2008-07-01 12:20:20 +0000 | [diff] [blame] | 307 | Simple inotify daemon. Reports filesystem changes. Requires |
| 308 | kernel >= 2.6.13 |
Denis Vlasenko | 8e2c9e1 | 2008-05-24 20:47:18 +0000 | [diff] [blame] | 309 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 310 | config LAST |
Eric Andersen | 2e9c257 | 2003-08-08 22:26:06 +0000 | [diff] [blame] | 311 | bool "last" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 312 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 313 | select FEATURE_WTMP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 314 | help |
Eric Andersen | 2e9c257 | 2003-08-08 22:26:06 +0000 | [diff] [blame] | 315 | '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] | 316 | |
Bernhard Reutner-Fischer | 69d5ba2 | 2008-05-22 21:56:26 +0000 | [diff] [blame] | 317 | choice |
| 318 | prompt "Choose last implementation" |
Denis Vlasenko | 869d3d3 | 2008-05-22 02:07:58 +0000 | [diff] [blame] | 319 | depends on LAST |
Bernhard Reutner-Fischer | 69d5ba2 | 2008-05-22 21:56:26 +0000 | [diff] [blame] | 320 | default FEATURE_LAST_SMALL |
| 321 | |
| 322 | config FEATURE_LAST_SMALL |
| 323 | bool "small" |
| 324 | help |
| 325 | This is a small version of last with just the basic set of |
| 326 | features. |
| 327 | |
| 328 | config FEATURE_LAST_FANCY |
| 329 | bool "huge" |
Denis Vlasenko | 869d3d3 | 2008-05-22 02:07:58 +0000 | [diff] [blame] | 330 | help |
| 331 | 'last' displays detailed information about the last users that |
| 332 | logged into the system (mimics sysvinit last). +900 bytes. |
Bernhard Reutner-Fischer | 69d5ba2 | 2008-05-22 21:56:26 +0000 | [diff] [blame] | 333 | endchoice |
Denis Vlasenko | 869d3d3 | 2008-05-22 02:07:58 +0000 | [diff] [blame] | 334 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 335 | config LESS |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 336 | bool "less" |
| 337 | default n |
| 338 | help |
| 339 | 'less' is a pager, meaning that it displays text files. It possesses |
| 340 | a wide array of features, and is an improvement over 'more'. |
| 341 | |
Denis Vlasenko | 9a7cef9 | 2006-12-20 02:46:48 +0000 | [diff] [blame] | 342 | config FEATURE_LESS_MAXLINES |
| 343 | int "Max number of input lines less will try to eat" |
| 344 | default 9999999 |
| 345 | depends on LESS |
| 346 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 347 | config FEATURE_LESS_BRACKETS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 348 | bool "Enable bracket searching" |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 349 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 350 | depends on LESS |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 351 | help |
| 352 | This option adds the capability to search for matching left and right |
| 353 | brackets, facilitating programming. |
| 354 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 355 | config FEATURE_LESS_FLAGS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 356 | bool "Enable extra flags" |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 357 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 358 | depends on LESS |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 359 | help |
| 360 | The extra flags provided do the following: |
| 361 | |
| 362 | The -M flag enables a more sophisticated status line. |
| 363 | The -m flag enables a simpler status line with a percentage. |
| 364 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 365 | config FEATURE_LESS_MARKS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 366 | bool "Enable marks" |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 367 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 368 | depends on LESS |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 369 | help |
| 370 | Marks enable positions in a file to be stored for easy reference. |
| 371 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 372 | config FEATURE_LESS_REGEXP |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 373 | bool "Enable regular expressions" |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 374 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 375 | depends on LESS |
Rob Landley | 9200e79 | 2005-09-15 19:26:59 +0000 | [diff] [blame] | 376 | help |
| 377 | Enable regular expressions, allowing complex file searches. |
| 378 | |
Denis Vlasenko | 53c80f0 | 2008-10-24 22:43:27 +0000 | [diff] [blame] | 379 | config FEATURE_LESS_WINCH |
| 380 | bool "Enable automatic resizing on window size changes" |
| 381 | default n |
| 382 | depends on LESS |
| 383 | help |
| 384 | Makes less track window size changes. |
| 385 | |
Denis Vlasenko | 4cfa5a2 | 2008-11-10 09:33:42 +0000 | [diff] [blame] | 386 | config FEATURE_LESS_DASHCMD |
| 387 | bool "Enable flag changes ('-' command)" |
| 388 | default n |
| 389 | depends on LESS |
| 390 | help |
| 391 | This enables the ability to change command-line flags within |
| 392 | less itself ('-' keyboard command). |
| 393 | |
| 394 | config FEATURE_LESS_LINENUMS |
| 395 | bool "Enable dynamic switching of line numbers" |
| 396 | default n |
| 397 | depends on FEATURE_LESS_DASHCMD |
| 398 | help |
| 399 | Enable "-N" command. |
| 400 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 401 | config HDPARM |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 402 | bool "hdparm" |
| 403 | default n |
| 404 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 405 | Get/Set hard drive parameters. Primarily intended for ATA |
| 406 | drives. Adds about 13k (or around 30k if you enable the |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 407 | FEATURE_HDPARM_GET_IDENTITY option).... |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 408 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 409 | config FEATURE_HDPARM_GET_IDENTITY |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 410 | bool "Support obtaining detailed information directly from drives" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 411 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 412 | depends on HDPARM |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 413 | help |
Rob Landley | 0620841 | 2006-05-31 22:52:57 +0000 | [diff] [blame] | 414 | Enables the -I and -i options to obtain detailed information |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 415 | directly from drives about their capabilities and supported ATA |
Rob Landley | 0620841 | 2006-05-31 22:52:57 +0000 | [diff] [blame] | 416 | feature set. If no device name is specified, hdparm will read |
| 417 | identify data from stdin. Enabling this option will add about 16k... |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 418 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 419 | config FEATURE_HDPARM_HDIO_SCAN_HWIF |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 420 | bool "Register an IDE interface (DANGEROUS)" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 421 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 422 | depends on HDPARM |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 423 | help |
| 424 | Enables the 'hdparm -R' option to register an IDE interface. |
| 425 | This is dangerous stuff, so you should probably say N. |
| 426 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 427 | config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 428 | bool "Un-register an IDE interface (DANGEROUS)" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 429 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 430 | depends on HDPARM |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 431 | help |
| 432 | Enables the 'hdparm -U' option to un-register an IDE interface. |
| 433 | This is dangerous stuff, so you should probably say N. |
| 434 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 435 | config FEATURE_HDPARM_HDIO_DRIVE_RESET |
Denis Vlasenko | 97faf53 | 2008-07-15 22:01:49 +0000 | [diff] [blame] | 436 | bool "Perform device reset (DANGEROUS)" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 437 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 438 | depends on HDPARM |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 439 | help |
| 440 | Enables the 'hdparm -w' option to perform a device reset. |
| 441 | This is dangerous stuff, so you should probably say N. |
| 442 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 443 | config FEATURE_HDPARM_HDIO_TRISTATE_HWIF |
Denis Vlasenko | 97faf53 | 2008-07-15 22:01:49 +0000 | [diff] [blame] | 444 | bool "Tristate device for hotswap (DANGEROUS)" |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 445 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 446 | depends on HDPARM |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 447 | help |
| 448 | Enables the 'hdparm -x' option to tristate device for hotswap, |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 449 | and the '-b' option to get/set bus state. This is dangerous |
Eric Andersen | 3443bd7 | 2003-07-22 07:30:36 +0000 | [diff] [blame] | 450 | stuff, so you should probably say N. |
| 451 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 452 | config FEATURE_HDPARM_HDIO_GETSET_DMA |
Denis Vlasenko | a83dbd4 | 2009-03-29 17:13:20 +0000 | [diff] [blame] | 453 | bool "Get/set using_dma flag" |
Eric Andersen | 0a57a79 | 2003-08-06 08:57:35 +0000 | [diff] [blame] | 454 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 455 | depends on HDPARM |
Eric Andersen | 0a57a79 | 2003-08-06 08:57:35 +0000 | [diff] [blame] | 456 | help |
| 457 | Enables the 'hdparm -d' option to get/set using_dma flag. |
Eric Andersen | 0a57a79 | 2003-08-06 08:57:35 +0000 | [diff] [blame] | 458 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 459 | config MAKEDEVS |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 460 | bool "makedevs" |
| 461 | default n |
| 462 | help |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 463 | 'makedevs' is a utility used to create a batch of devices with |
| 464 | one command. |
| 465 | . |
| 466 | There are two choices for command line behaviour, the interface |
| 467 | as used by LEAF/Linux Router Project, or a device table file. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 468 | . |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 469 | 'leaf' is traditionally what busybox follows, it allows multiple |
| 470 | devices of a particluar type to be created per command. |
| 471 | e.g. /dev/hda[0-9] |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 472 | Device properties are passed as command line arguments. |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 473 | . |
| 474 | 'table' reads device properties from a file or stdin, allowing |
Bernhard Reutner-Fischer | 771b186 | 2006-03-24 14:30:05 +0000 | [diff] [blame] | 475 | a batch of unrelated devices to be made with one command. |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 476 | User/group names are allowed as an alternative to uid/gid. |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 477 | |
| 478 | choice |
| 479 | prompt "Choose makedevs behaviour" |
Mike Frysinger | 08e7097 | 2007-01-24 09:14:09 +0000 | [diff] [blame] | 480 | depends on MAKEDEVS |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 481 | default FEATURE_MAKEDEVS_TABLE |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 482 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 483 | config FEATURE_MAKEDEVS_LEAF |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 484 | bool "leaf" |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 485 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 486 | config FEATURE_MAKEDEVS_TABLE |
Eric Andersen | 3d92562 | 2005-06-09 10:16:02 +0000 | [diff] [blame] | 487 | bool "table" |
| 488 | |
| 489 | endchoice |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 490 | |
Denis Vlasenko | ffa4499 | 2008-04-13 08:20:00 +0000 | [diff] [blame] | 491 | config MAN |
| 492 | bool "man" |
| 493 | default n |
| 494 | help |
| 495 | Format and display manual pages. |
| 496 | |
Denis Vlasenko | 23856ab | 2007-09-22 20:51:41 +0000 | [diff] [blame] | 497 | config MICROCOM |
| 498 | bool "microcom" |
| 499 | default n |
| 500 | help |
| 501 | The poor man's minicom utility for chatting with serial port devices. |
| 502 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 503 | config MOUNTPOINT |
Rob Landley | d00b3a5 | 2005-08-20 05:07:08 +0000 | [diff] [blame] | 504 | bool "mountpoint" |
| 505 | default n |
| 506 | help |
| 507 | mountpoint checks if the directory is a mountpoint. |
| 508 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 509 | config MT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 510 | bool "mt" |
| 511 | default n |
| 512 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 513 | 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] | 514 | to advance or rewind a tape past a specified number of archive |
| 515 | files on the tape. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 516 | |
Denis Vlasenko | c108ed5 | 2006-10-20 19:39:48 +0000 | [diff] [blame] | 517 | config RAIDAUTORUN |
| 518 | bool "raidautorun" |
| 519 | default n |
| 520 | help |
| 521 | raidautorun tells the kernel md driver to |
| 522 | search and start RAID arrays. |
| 523 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 524 | config READAHEAD |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 525 | bool "readahead" |
Rob Landley | 0e4690d | 2006-08-20 22:12:18 +0000 | [diff] [blame] | 526 | default n |
Bernhard Reutner-Fischer | f98d637 | 2007-01-26 09:03:23 +0000 | [diff] [blame] | 527 | depends on LFS |
Rob Landley | 0e4690d | 2006-08-20 22:12:18 +0000 | [diff] [blame] | 528 | help |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 529 | 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] | 530 | subsequent reads on these files will not block on disk I/O. |
| 531 | |
| 532 | This applet just calls the readahead(2) system call on each file. |
| 533 | It is mainly useful in system startup scripts to preload files |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 534 | or executables before they are used. When used at the right time |
Denis Vlasenko | b15ebe4 | 2008-04-13 22:41:27 +0000 | [diff] [blame] | 535 | (in particular when a CPU bound process is running) it can |
Rob Landley | 0e4690d | 2006-08-20 22:12:18 +0000 | [diff] [blame] | 536 | significantly speed up system startup. |
| 537 | |
| 538 | 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] | 539 | run this applet as a background job. |
Rob Landley | 0e4690d | 2006-08-20 22:12:18 +0000 | [diff] [blame] | 540 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 541 | config RUNLEVEL |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 542 | bool "runlevel" |
Bernhard Reutner-Fischer | 62d7acc | 2005-10-28 20:37:03 +0000 | [diff] [blame] | 543 | default n |
| 544 | help |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 545 | find the current and previous system runlevel. |
Bernhard Reutner-Fischer | 62d7acc | 2005-10-28 20:37:03 +0000 | [diff] [blame] | 546 | |
| 547 | This applet uses utmp but does not rely on busybox supporing |
| 548 | utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc. |
| 549 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 550 | config RX |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 551 | bool "rx" |
Glenn L McGrath | 8f3bc4c | 2003-12-20 07:30:35 +0000 | [diff] [blame] | 552 | default n |
| 553 | help |
Mike Frysinger | 71a6a4e | 2007-01-24 08:24:43 +0000 | [diff] [blame] | 554 | Receive files using the Xmodem protocol. |
Glenn L McGrath | 8f3bc4c | 2003-12-20 07:30:35 +0000 | [diff] [blame] | 555 | |
Denis Vlasenko | 376003b | 2008-04-21 05:05:17 +0000 | [diff] [blame] | 556 | config SETSID |
| 557 | bool "setsid" |
Denis Vlasenko | 5014dad | 2008-02-27 11:54:59 +0000 | [diff] [blame] | 558 | default n |
| 559 | help |
Denis Vlasenko | 376003b | 2008-04-21 05:05:17 +0000 | [diff] [blame] | 560 | setsid runs a program in a new session |
Denis Vlasenko | 5014dad | 2008-02-27 11:54:59 +0000 | [diff] [blame] | 561 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 562 | config STRINGS |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 563 | bool "strings" |
| 564 | default n |
| 565 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 566 | strings prints the printable character sequences for each file |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 567 | specified. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 568 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 569 | config TASKSET |
Bernhard Reutner-Fischer | 16d3e4e | 2006-06-07 15:44:59 +0000 | [diff] [blame] | 570 | bool "taskset" |
| 571 | default n |
| 572 | help |
Mike Frysinger | 259472e | 2006-07-03 05:22:36 +0000 | [diff] [blame] | 573 | Retrieve or set a processes's CPU affinity. |
Bernhard Reutner-Fischer | 32eddff | 2006-11-22 16:39:48 +0000 | [diff] [blame] | 574 | This requires sched_{g,s}etaffinity support in your libc. |
| 575 | |
| 576 | config FEATURE_TASKSET_FANCY |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 577 | bool "Fancy output" |
Bernhard Reutner-Fischer | 32eddff | 2006-11-22 16:39:48 +0000 | [diff] [blame] | 578 | default y |
| 579 | depends on TASKSET |
| 580 | help |
| 581 | Add code for fancy output. This merely silences a compiler-warning |
| 582 | and adds about 135 Bytes. May be needed for machines with alot |
| 583 | of CPUs. |
Rob Landley | 12d9419 | 2006-06-30 22:20:43 +0000 | [diff] [blame] | 584 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 585 | config TIME |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 586 | bool "time" |
| 587 | default n |
| 588 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 589 | The time command runs the specified program with the given arguments. |
| 590 | When the command finishes, time writes a message to standard output |
| 591 | giving timing statistics about this program run. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 592 | |
Denis Vlasenko | a9acbe6 | 2008-11-24 13:25:20 +0000 | [diff] [blame] | 593 | config TIMEOUT |
| 594 | bool "timeout" |
| 595 | default n |
| 596 | help |
| 597 | Runs a program and watches it. If it does not terminate in |
| 598 | specified number of seconds, it is sent a signal. |
| 599 | |
Denis Vlasenko | c01af95 | 2007-08-02 22:23:47 +0000 | [diff] [blame] | 600 | config TTYSIZE |
| 601 | bool "ttysize" |
| 602 | default n |
| 603 | help |
| 604 | A replacement for "stty size". Unlike stty, can report only width, |
Bernhard Reutner-Fischer | b111917 | 2008-07-01 12:20:20 +0000 | [diff] [blame] | 605 | only height, or both, in any order. It also does not complain on |
| 606 | error, but returns default 80x24. |
| 607 | Usage in shell scripts: width=`ttysize w`. |
Denis Vlasenko | c01af95 | 2007-08-02 22:23:47 +0000 | [diff] [blame] | 608 | |
Matthew Stoltenberg | 4803db5 | 2009-08-13 00:59:32 +0200 | [diff] [blame] | 609 | config VOLNAME |
| 610 | bool "volname" |
| 611 | default n |
| 612 | help |
| 613 | Prints a CD-ROM volume name. |
| 614 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 615 | config WATCHDOG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 616 | bool "watchdog" |
| 617 | default n |
| 618 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 619 | The watchdog utility is used with hardware or software watchdog |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 620 | device drivers. It opens the specified watchdog device special file |
| 621 | and periodically writes a magic character to the device. If the |
Eric Andersen | 795c4ba | 2003-07-22 10:11:48 +0000 | [diff] [blame] | 622 | watchdog applet ever fails to write the magic character within a |
Eric Andersen | ac00aa7 | 2003-07-26 08:07:56 +0000 | [diff] [blame] | 623 | certain amount of time, the watchdog device assumes the system has |
| 624 | hung, and will cause the hardware to reboot. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 625 | |
| 626 | endmenu |