summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorErik Andersen2000-05-13 06:33:19 +0000
committerErik Andersen2000-05-13 06:33:19 +0000
commitbcd6177853a39d47b7c0ea75cc27653d63649afa (patch)
tree45ed7567a55a548fff8cf6e50dcda63420a8bd0f /applets
parent73c8c9cf9a61286a109a8785b8e4782828d6fe99 (diff)
downloadbusybox-bcd6177853a39d47b7c0ea75cc27653d63649afa.zip
busybox-bcd6177853a39d47b7c0ea75cc27653d63649afa.tar.gz
BusyBox shell (lash) can now be used as a standalone shell when
BB_FEATURE_STANDALONE_SHELL is defined (i.e. BusyBox can now completely replace sash). Also fixed it so shell builtins now respect pipes and redirects. -Erik
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 85b42df..07caa34 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -30,7 +30,7 @@ int atexit(void (*__func) (void))
void *__libc_stack_end;
#endif
-static const struct Applet applets[] = {
+const struct BB_applet applets[] = {
#ifdef BB_BASENAME
{"basename", basename_main, _BB_DIR_USR_BIN},
@@ -350,7 +350,7 @@ int main(int argc, char **argv)
{
char *s;
char *name;
- const struct Applet *a = applets;
+ const struct BB_applet *a = applets;
for (s = name = argv[0]; *s != '\0';) {
if (*s++ == '/')
@@ -384,7 +384,7 @@ int busybox_main(int argc, char **argv)
argv++;
if (been_there_done_that == 1 || argc < 1) {
- const struct Applet *a = applets;
+ const struct BB_applet *a = applets;
fprintf(stderr, "BusyBox v%s (%s) multi-call binary -- GPL2\n\n",
BB_VER, BB_BT);