landley | 5257cf5 | 2006-10-31 23:30:06 -0500 | [diff] [blame] | 1 | mainmenu "ToyBox Configuration" |
| 2 | |
Rob Landley | 76ec485 | 2012-10-21 17:57:23 -0500 | [diff] [blame] | 3 | |
| 4 | source generated/Config.probed |
| 5 | source generated/Config.in |
| 6 | |
| 7 | comment "" |
| 8 | |
Rob Landley | 3a9241a | 2012-08-25 14:25:22 -0500 | [diff] [blame] | 9 | menu "Toybox global settings" |
landley | 5257cf5 | 2006-10-31 23:30:06 -0500 | [diff] [blame] | 10 | |
Rob Landley | 2896480 | 2008-01-19 17:08:39 -0600 | [diff] [blame] | 11 | config TOYBOX |
| 12 | bool |
Rob Landley | d04dc1f | 2013-08-30 01:53:31 -0500 | [diff] [blame] | 13 | default y |
Rob Landley | d06c58d | 2007-10-11 15:36:36 -0500 | [diff] [blame] | 14 | help |
Rob Landley | 8431692 | 2014-06-10 21:57:05 -0500 | [diff] [blame^] | 15 | usage: toybox [--long | [command] [arguments...]] |
Rob Landley | d06c58d | 2007-10-11 15:36:36 -0500 | [diff] [blame] | 16 | |
Rob Landley | 26c0045 | 2013-04-14 12:35:25 -0500 | [diff] [blame] | 17 | With no arguments, shows available commands. First argument is |
Rob Landley | 2896480 | 2008-01-19 17:08:39 -0600 | [diff] [blame] | 18 | name of a command to run, followed by any arguments to that command. |
Rob Landley | d06c58d | 2007-10-11 15:36:36 -0500 | [diff] [blame] | 19 | |
Rob Landley | 8431692 | 2014-06-10 21:57:05 -0500 | [diff] [blame^] | 20 | --long Show path to each command |
| 21 | |
| 22 | To install command symlinks, try: |
| 23 | for i in $(/bin/toybox --long); do ln -s /bin/toybox $i; done |
| 24 | |
Rob Landley | e0377fb | 2010-01-05 12:17:05 -0600 | [diff] [blame] | 25 | config TOYBOX_SUID |
| 26 | bool "SUID support" |
| 27 | default y |
| 28 | help |
Rob Landley | 26c0045 | 2013-04-14 12:35:25 -0500 | [diff] [blame] | 29 | Support for the Set User ID bit, to install toybox suid root and drop |
| 30 | permissions for commands which do not require root access. To use |
| 31 | this change ownership of the file to the root user and set the suid |
| 32 | bit in the file permissions: |
| 33 | |
| 34 | chown root:root toybox; chmod +s toybox |
Rob Landley | e0377fb | 2010-01-05 12:17:05 -0600 | [diff] [blame] | 35 | |
Rob Landley | f01503d | 2012-02-02 07:26:39 -0600 | [diff] [blame] | 36 | config TOYBOX_FLOAT |
| 37 | bool "Floating point support" |
| 38 | default y |
| 39 | help |
| 40 | Include floating point support infrastructure and commands that |
| 41 | require it. |
| 42 | |
Rob Landley | 36ffc5a | 2013-04-14 21:43:22 -0500 | [diff] [blame] | 43 | config TOYBOX_HELP |
Rob Landley | d683b17 | 2013-06-16 20:00:11 -0500 | [diff] [blame] | 44 | bool "Help messages" |
Rob Landley | 36ffc5a | 2013-04-14 21:43:22 -0500 | [diff] [blame] | 45 | default y |
| 46 | help |
| 47 | Include help text for each command. |
| 48 | |
Rob Landley | 953722e | 2013-06-30 15:58:24 -0500 | [diff] [blame] | 49 | config TOYBOX_HELP_DASHDASH |
| 50 | bool "--help" |
| 51 | default y |
| 52 | depends on TOYBOX_HELP |
| 53 | help |
| 54 | Support --help argument in all commands, even ones with a NULL |
| 55 | optstring. Produces the same output as "help command". |
| 56 | |
Felix Janda | 250e005 | 2012-11-21 20:38:29 +0100 | [diff] [blame] | 57 | config TOYBOX_I18N |
Rob Landley | 26c0045 | 2013-04-14 12:35:25 -0500 | [diff] [blame] | 58 | bool "Internationalization support" |
Felix Janda | 250e005 | 2012-11-21 20:38:29 +0100 | [diff] [blame] | 59 | default y |
| 60 | help |
Rob Landley | 26c0045 | 2013-04-14 12:35:25 -0500 | [diff] [blame] | 61 | Support for UTF-8 character sets, and some locale support. |
Felix Janda | 250e005 | 2012-11-21 20:38:29 +0100 | [diff] [blame] | 62 | |
Rob Landley | de05a70 | 2007-01-31 14:37:01 -0500 | [diff] [blame] | 63 | config TOYBOX_FREE |
landley | 5257cf5 | 2006-10-31 23:30:06 -0500 | [diff] [blame] | 64 | bool "Free memory unnecessarily" |
| 65 | default n |
| 66 | help |
| 67 | When a program exits, the operating system will clean up after it |
Rob Landley | 26c0045 | 2013-04-14 12:35:25 -0500 | [diff] [blame] | 68 | (free memory, close files, etc). To save size, toybox usually relies |
| 69 | on this behavior. If you're running toybox under a debugger or |
landley | 5257cf5 | 2006-10-31 23:30:06 -0500 | [diff] [blame] | 70 | without a real OS (ala newlib+libgloss), enable this to make toybox |
| 71 | clean up after itself. |
| 72 | |
Rob Landley | de05a70 | 2007-01-31 14:37:01 -0500 | [diff] [blame] | 73 | config TOYBOX_DEBUG |
Rob Landley | 8324b89 | 2006-11-19 02:49:22 -0500 | [diff] [blame] | 74 | bool "Debugging tests" |
| 75 | default n |
| 76 | help |
| 77 | Enable extra checks for debugging purposes. |
| 78 | |
landley | 5257cf5 | 2006-10-31 23:30:06 -0500 | [diff] [blame] | 79 | endmenu |