summaryrefslogtreecommitdiff
path: root/Config.h
diff options
context:
space:
mode:
authorEric Andersen2000-11-17 18:07:30 +0000
committerEric Andersen2000-11-17 18:07:30 +0000
commit50b3113dc2d7056d34e053826cb2d23327c99803 (patch)
treec0c5859b8b8182c0c11e2662cdead1ca10fc38d8 /Config.h
parent337ec1bb321830df27af594f50995ef1de47cd55 (diff)
downloadbusybox-50b3113dc2d7056d34e053826cb2d23327c99803.zip
busybox-50b3113dc2d7056d34e053826cb2d23327c99803.tar.gz
Add in a new FEATURE (off by default) BB_FEATURE_SH_BUILTINS_ALWAYS_WIN.
Make the sh default to using external commands when a path is provided.
Diffstat (limited to 'Config.h')
-rw-r--r--Config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Config.h b/Config.h
index b2baac2..c010671 100644
--- a/Config.h
+++ b/Config.h
@@ -234,6 +234,14 @@
//among other thing.
#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. :-)
+//BB_FEATURE_SH_BUILTINS_ALWAYS_WIN
+//
// Enable tab completion in the shell (not yet
// working very well -- so don't turn this on)
//#define BB_FEATURE_SH_TAB_COMPLETION