Fix up builtin overrides, and hack in the binary search for finding

matching applets into the shell.
This commit is contained in:
Eric Andersen
2000-11-17 18:25:26 +00:00
parent cf32e23796
commit e5aef92e22
9 changed files with 113 additions and 105 deletions

View File

@ -235,11 +235,11 @@
#define BB_FEATURE_SH_STANDALONE_SHELL
//
//When this is enabled, busybox shell builtins can be called using full path
//names. This causes builtins (which includes every single busybox command
//when you enable BB_FEATURE_SH_STANDALONE_SHELL) to override real commands on
//the filesystem. When this is enabled, if you run /bin/cat, it will use
//BusyBox cat even if /bin/cat exists on the filesystem and is _not_ busybox.
//Some systems want this, others do not. Choose wisely. :-)
//names. This causes builtins (i.e. every single busybox command) to override
//real commands on the filesystem. For example, if you run run /bin/cat, it
//will use BusyBox cat even if /bin/cat exists on the filesystem and is _not_
//busybox. Some systems want this, others do not. Choose wisely. :-) This
//only has meaning when BB_FEATURE_SH_STANDALONE_SHELL is enabled.
//BB_FEATURE_SH_BUILTINS_ALWAYS_WIN
//
// Enable tab completion in the shell (not yet