2014-09-20 11:20:17 -07:00
|
|
|
mainmenu "Toybox Configuration"
|
2006-10-31 20:30:06 -08:00
|
|
|
|
2012-10-21 15:57:23 -07:00
|
|
|
|
|
|
|
source generated/Config.probed
|
|
|
|
source generated/Config.in
|
|
|
|
|
|
|
|
comment ""
|
|
|
|
|
2012-08-25 12:25:22 -07:00
|
|
|
menu "Toybox global settings"
|
2006-10-31 20:30:06 -08:00
|
|
|
|
2014-08-18 17:10:45 -07:00
|
|
|
# This entry controls the multiplexer, disabled for single command builds
|
2008-01-19 15:08:39 -08:00
|
|
|
config TOYBOX
|
|
|
|
bool
|
2013-08-29 23:53:31 -07:00
|
|
|
default y
|
2007-10-11 13:36:36 -07:00
|
|
|
help
|
2014-06-10 19:57:05 -07:00
|
|
|
usage: toybox [--long | [command] [arguments...]]
|
2007-10-11 13:36:36 -07:00
|
|
|
|
2013-04-14 10:35:25 -07:00
|
|
|
With no arguments, shows available commands. First argument is
|
2008-01-19 15:08:39 -08:00
|
|
|
name of a command to run, followed by any arguments to that command.
|
2007-10-11 13:36:36 -07:00
|
|
|
|
2014-06-10 19:57:05 -07:00
|
|
|
--long Show path to each command
|
|
|
|
|
|
|
|
To install command symlinks, try:
|
|
|
|
for i in $(/bin/toybox --long); do ln -s /bin/toybox $i; done
|
|
|
|
|
2010-01-05 10:17:05 -08:00
|
|
|
config TOYBOX_SUID
|
|
|
|
bool "SUID support"
|
|
|
|
default y
|
|
|
|
help
|
2013-04-14 10:35:25 -07:00
|
|
|
Support for the Set User ID bit, to install toybox suid root and drop
|
|
|
|
permissions for commands which do not require root access. To use
|
|
|
|
this change ownership of the file to the root user and set the suid
|
|
|
|
bit in the file permissions:
|
|
|
|
|
|
|
|
chown root:root toybox; chmod +s toybox
|
2010-01-05 10:17:05 -08:00
|
|
|
|
2012-02-02 05:26:39 -08:00
|
|
|
config TOYBOX_FLOAT
|
|
|
|
bool "Floating point support"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include floating point support infrastructure and commands that
|
|
|
|
require it.
|
|
|
|
|
2013-04-14 19:43:22 -07:00
|
|
|
config TOYBOX_HELP
|
2013-06-16 18:00:11 -07:00
|
|
|
bool "Help messages"
|
2013-04-14 19:43:22 -07:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Include help text for each command.
|
|
|
|
|
2013-06-30 13:58:24 -07:00
|
|
|
config TOYBOX_HELP_DASHDASH
|
|
|
|
bool "--help"
|
|
|
|
default y
|
|
|
|
depends on TOYBOX_HELP
|
|
|
|
help
|
|
|
|
Support --help argument in all commands, even ones with a NULL
|
|
|
|
optstring. Produces the same output as "help command".
|
|
|
|
|
2012-11-21 11:38:29 -08:00
|
|
|
config TOYBOX_I18N
|
2013-04-14 10:35:25 -07:00
|
|
|
bool "Internationalization support"
|
2012-11-21 11:38:29 -08:00
|
|
|
default y
|
|
|
|
help
|
2013-04-14 10:35:25 -07:00
|
|
|
Support for UTF-8 character sets, and some locale support.
|
2012-11-21 11:38:29 -08:00
|
|
|
|
2007-01-31 11:37:01 -08:00
|
|
|
config TOYBOX_FREE
|
2006-10-31 20:30:06 -08:00
|
|
|
bool "Free memory unnecessarily"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
When a program exits, the operating system will clean up after it
|
2013-04-14 10:35:25 -07:00
|
|
|
(free memory, close files, etc). To save size, toybox usually relies
|
|
|
|
on this behavior. If you're running toybox under a debugger or
|
2006-10-31 20:30:06 -08:00
|
|
|
without a real OS (ala newlib+libgloss), enable this to make toybox
|
|
|
|
clean up after itself.
|
|
|
|
|
2014-10-20 17:52:29 -07:00
|
|
|
config TOYBOX_NORECURSE
|
|
|
|
bool "Disable recursive execution"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
When one toybox command calls another, usually it just calls the new
|
|
|
|
command's main() function rather than searching the $PATH and calling
|
|
|
|
exec on another file (which is much slower).
|
|
|
|
|
|
|
|
This disables that optimization, so toybox will run external commands
|
|
|
|
even when it has a built-in version of that command. This requires
|
|
|
|
toybox symlinks to be installed in the $PATH, or re-invoking the
|
|
|
|
"toybox" multiplexer command by name.
|
|
|
|
|
2007-01-31 11:37:01 -08:00
|
|
|
config TOYBOX_DEBUG
|
2006-11-18 23:49:22 -08:00
|
|
|
bool "Debugging tests"
|
|
|
|
default n
|
|
|
|
help
|
2014-08-18 17:10:45 -07:00
|
|
|
Enable extra checks for debugging purposes. All of them catch
|
|
|
|
things that can only go wrong at development time, not runtime.
|
|
|
|
|
|
|
|
config TOYBOX_UID_SYS
|
|
|
|
int "First system UID"
|
|
|
|
default 100
|
|
|
|
help
|
|
|
|
When commands like useradd/groupadd allocate system IDs, start here.
|
|
|
|
|
|
|
|
config TOYBOX_UID_USR
|
|
|
|
int "First user UID"
|
|
|
|
default 500
|
|
|
|
help
|
|
|
|
When commands like useradd/groupadd allocate user IDs, start here.
|
2006-10-31 20:30:06 -08:00
|
|
|
endmenu
|